|
@@ -11,22 +11,27 @@ Clone this repo and then:
|
|
|
|
|
|
Clone the upstream repo in Gogs, then clone to your computer:
|
|
|
> git clone https://yourUserName@yourURL
|
|
|
-Add the upstream repo to be able to submit a push request:
|
|
|
+Add upstream repo to be able to rebase to upstream point commit:
|
|
|
> git remote add upstream https://gogs.librecmc.org/libreCMC/libreCMC-wiki.git
|
|
|
+> (git branch optionalBranchName)
|
|
|
+> git push
|
|
|
Create Push Request in Gogs
|
|
|
|
|
|
### git request-pull -p ( Anywhere )
|
|
|
|
|
|
Clone the upstream repo to your computer
|
|
|
-git add changedFile.md
|
|
|
-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
|
|
|
+> git add changedFile.md
|
|
|
+> 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
|
|
|
|
|
|
-git request-pull -p b3b8926484feb37c33e5150facf315ef12b4612e https://gogs.librecmc.org/jonasbits2/libreCMC-wiki.git master | haste
|
|
|
+example pipe output to haste:
|
|
|
+> 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
|
|
|
+Paste link in IRC channel
|
|
|
|
|
|
Links
|
|
|
https://www.git-scm.com/docs/git-request-pull
|
|
|
+https://hastebin.com/about.md
|