Assuming project is SOME/PROJECT
And you are FOO
You will need to do the following one time only:
- Fork
SOME/PROJECT
repository under your namespace. - Navigate to https://github.com/FOO/PROJECT/wiki
- Hit
Create the first page
. You will get an error (that's ok!) - Navigate to https://github.com/FOO/PROJECT/wiki again and you will see the wiki updated.
- Clone https://github.com/FOO/PROJECT.wiki.git
- Add the upstream:
git remote add upstream https://github.com/SOME/PROJECT.wiki.git
- Fetch the latest master:
git fetch upstream master
git checkout master
git fetch upstream master
git merge upstream/master
git push origin master
git checkout master
git add your/change/here
git commit -m "single line sub 50 char description"
git push origin master
When you're ready to submit, you need to open an issue https://github.com/SOME/PROJECT/issues and provide the following:
- Link to your repository.
- Description to the change you've done.
As a core contributor you can review the changes done using:
git checkout -b FOO-master
git pull https://github.com/FOO/PROJECT.wiki.git master
As a core contributors you can merge the changes done using:
git checkout master
git merge --no-ff FOO-master
git push origin master
Thank you so much for this straight and informative instruction!
You have saved me a lot of nerves and time and also possibly helped lots of good projects in getting russian translation of their wiki pages 😄