Small Changes
[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
18 Create Push Request in Gogs
19
20 ### git request-pull -p ( Anywhere )
21
22 Clone the upstream repo to your computer
23 > git add changedFile.md
24 > git commit ( -m Short info what changed )
25 > git log ( copy commit id )
26 > git request-pull -p (start) URL (end)
27 > git request-pull -p (commit in upstream repo) URL master
28
29 example pipe output to haste:
30 > git request-pull -p b3b8926484feb37c33e5150facf315ef12b4612e https://gogs.librecmc.org/jonasbits2/libreCMC-wiki.git master | haste
31
32 Send in a with hastebin.com or anything you like
33 Paste link in IRC channel
34
35 Links
36 https://www.git-scm.com/docs/git-request-pull
37 https://hastebin.com/about.md