From: Andrew Engelbrecht Date: Thu, 19 Oct 2017 23:48:21 +0000 (-0400) Subject: Cleaned up instructions for wiki submission X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=22116df884ac209148d39e8e9e9c73b7ad9ae938;p=librecmc%2Flibrecmc-wiki.git Cleaned up instructions for wiki submission --- diff --git a/How To Submit A Change To This Wiki.md b/How To Submit A Change To This Wiki.md index 74169e8..995f352 100644 --- a/How To Submit A Change To This Wiki.md +++ b/How To Submit A Change To This Wiki.md @@ -1,40 +1,55 @@ How To Submit A Change To This Wiki -================================ +=================================== -Clone this repo and then: -------------------------- +Clone this repo and: +-------------------- -* git push -* git request-pull -p + git clone https://gogs.librecmc.org/libreCMC/libreCMC-wiki.git + +then + + git push + +or + + git request-pull -p ### 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 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 (--all) -Create Push Request in Gogs + + git remote add upstream https://gogs.librecmc.org/libreCMC/libreCMC-wiki.git + (git checkout -b optionalBranchName) + git push (--all) + +Create Push Request in Gogs: + * Press the little green PR button in your own repo -or -* Go here https://gogs.librecmc.org/libreCMC/libreCMC-wiki/pulls +* Or go to ### 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 +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 + +Example for piping output to haste: + + git request-pull -p b3b8926484feb37c33e5150facf315ef12b4612e https://gogs.librecmc.org/jonasbits2/libreCMC-wiki.git master | haste + +* Send to hastebin.com or any site you like +* Paste link in IRC channel -example pipe output to haste: -> git request-pull -p b3b8926484feb37c33e5150facf315ef12b4612e https://gogs.librecmc.org/jonasbits2/libreCMC-wiki.git master | haste +#### Links -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