-
Notifications
You must be signed in to change notification settings - Fork 254
WikiContribute
- Make sure you have GitHub account.
- Fork spacewalkproject/spacewalk-wiki into your account.
- Make changes in your forked
spacewalk-wiki
repository. - Open new PR for spacewalkproject/spacewalk-wiki.
-
Fork spacewalkproject/spacewalk into your account.
-
Go to
https://github.com/<youraccount>/spacewalk/wiki
and 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-wiki
repository and add a remote calledwiki
pointing to thespacewalk.wiki
repository.$ cd spacewalk-wiki $ git remote add wiki [email protected]:<youraccount>/spacewalk.wiki.git
-
Make some new changes in
test
branch.$ git checkout -b test ... $ git commit
-
Publish
test
branch changes tospacewalk.wiki
repository.$ 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-wiki
repository and open PR fromtest
branch.$ git push -f origin test:test
Do you want to contribute to this wiki? See page WikiContribute for more info.