Our open source community’s Wiki focuses on answering your questions about learning to code and getting a coding job. We also cover in detail our:
Taste the wiki at FreeCodeCamp/wiki
Once you have forked the wiki repository in Github, you need to clone/download it to local machine with…
$ git clone https://github.com/YOUR_USERNAME/wiki.git
this makes a local copy in your machine.
Run the following commands to see that your local copy has a reference to your forked remote repository in Github :octocat:
$ git remote -v origin https://github.com/YOUR_USERNAME/wiki.git (fetch) origin https://github.com/YOUR_USERNAME/wiki.git (push)
Now lets add a reference to the original FreeCodeCamp wiki repository with…
$ git remote add upstream https://github.com/FreeCodeCamp/wiki.git
this adds a new remote named upstream.
You may see the changes with…
$ git remote -v origin https://github.com/YOUR_USERNAME/wiki.git (fetch) origin https://github.com/YOUR_USERNAME/wiki.git (push) upstream https://github.com/FreeCodeCamp/wiki.git (fetch) upstream https://github.com/FreeCodeCamp/wiki.git (push)
Always keep your local copy of repository updated with the original repository.
Before making any changes and/or in an appropriate interval, run the following commands carefully to update your local repository.
# fetch all remote repos and delete any deleted remote branches $ git fetch --all --prune # switch to `master` branch $ git checkout master # reset local `master` branch to match `upstream` repo's `master` branch $ git reset --hard upstream/master # push changes to your forked wiki repo $ git push origin master
Once you have completed these steps, you are ready to start contributing by checking our and creating new shiny pull requests.
We also have guides in our Wiki to assist you in your contributions. You can find this and many more guides, tutorials and other information in the Wiki Central Page such as contributing using:
The Free Code Camp Wiki by Free Code Camp is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at http://freecodecamp.com.