WikiContribute - jdobes/spacewalk GitHub Wiki
Spacewalk wiki
How to contribute to Spacewalk wiki
- Make sure you have GitHub account.
- Fork spacewalkproject/spacewalk-wiki into your account.
- Make changes in your forked
spacewalk-wikirepository. - Open new PR for spacewalkproject/spacewalk-wiki.
How to test your changes before opening PR
-
Fork spacewalkproject/spacewalk into your account.
-
Go to
https://github.com/<youraccount>/spacewalk/wikiand click Create the first page and initialize wiki repository with some content. -
Clone your forked spacewalk-wiki repository to your workstation.
$ git clone [email protected]:<youraccount>/spacewalk-wiki.git -
Go to the
spacewalk-wikirepository and add a remote calledwikipointing to thespacewalk.wikirepository.$ cd spacewalk-wiki $ git remote add wiki [email protected]:<youraccount>/spacewalk.wiki.git -
Make some new changes in
testbranch.$ git checkout -b test ... $ git commit -
Publish
testbranch changes tospacewalk.wikirepository.$ git push -f wiki test:master -
Check your changes on web -
https://github.com/<youraccount>/spacewalk/wiki. -
Now you can even edit wiki pages using GitHub web UI and then pull changes back to your working copy.
$ git pull wiki master -
When you are happy with changes in your working copy, publish these changes to forked
spacewalk-wikirepository and open PR fromtestbranch.$ git push -f origin test:test