Final
[librecmc/librecmc-wiki.git] / How To Submit A Change To This Wiki.md
1 How To Submit A Change To This Wiki
2 ================================
3
4 Clone this repo and then:
5 -------------------------
6
7 * git push
8 * git request-pull -p
9
10 ### git push ( In Gogs )
11
12 Clone the upstream repo in Gogs, then clone to your computer:
13 > git clone https://yourUserName@yourURL
14 Add upstream repo to be able to rebase to upstream point commit:
15 > git remote add upstream https://gogs.librecmc.org/libreCMC/libreCMC-wiki.git
16 > (git branch optionalBranchName)
17 > git push (--all)
18 Create Push Request in Gogs
19 * Press the little green PR button in your own repo
20 or
21 * Go here https://gogs.librecmc.org/libreCMC/libreCMC-wiki/pulls
22
23 ### git request-pull -p ( Anywhere )
24
25 Clone the upstream repo to your computer
26 > git add changedFile.md
27 > git commit ( -m Short info what changed )
28 > git log ( copy commit id )
29 > git request-pull -p (start) URL (end)
30 > git request-pull -p (commit in upstream repo) URL master
31
32 example pipe output to haste:
33 > git request-pull -p b3b8926484feb37c33e5150facf315ef12b4612e https://gogs.librecmc.org/jonasbits2/libreCMC-wiki.git master | haste
34
35 Send in a with hastebin.com or anything you like
36 Paste link in IRC channel
37
38 Links
39 https://www.git-scm.com/docs/git-request-pull
40 https://hastebin.com/about.md