Browse Source

This is more refined

jonasbits 7 years ago
parent
commit
a7e2e1540d
1 changed files with 16 additions and 8 deletions
  1. 16 8
      How To Submit A Change To This Wiki.md

+ 16 - 8
How To Submit A Change To This Wiki.md

@@ -1,4 +1,4 @@
-How To Submit A Change This Wiki
+How To Submit A Change To This Wiki
 ================================
 
 Clone this repo and then:
@@ -7,18 +7,26 @@ Clone this repo and then:
 * git push
 * git request-pull -p
 
-### git push
+### git push ( In Gogs )
 
 Clone the upstream repo in Gogs, then clone to your computer:
-git clone https://yourUserName@yourURL
+> git clone https://yourUserName@yourURL
 Add the upstream repo to be able to submit a push request:
-git remote add https://INSERTUSERNAMEHERE@gogs.librecmc.org/libreCMC/libreCMC-wiki.git
+> git remote add upstream https://gogs.librecmc.org/libreCMC/libreCMC-wiki.git
+Create Push Request in Gogs
 
-### git request-pull -p
+### git request-pull -p ( Anywhere )
 
 Clone the upstream repo to your computer
 git add changedFile.md
-git commit
-git request-pull -p
+git commit ( -m Short info what changed )
+git log ( copy commit id )
+git request-pull -p (start) URL (end)
+git request-pull -p (commit in upstream repo) URL master
 
-send in a pastebin or anything you like
+git request-pull -p b3b8926484feb37c33e5150facf315ef12b4612e https://gogs.librecmc.org/jonasbits2/libreCMC-wiki.git master | haste
+
+Send in a with hastebin.com or anything you like
+
+Links
+https://www.git-scm.com/docs/git-request-pull