How to Fork our Wiki and Keep It Syncronized

These steps are standard for contributing not only to our wiki but any other project once you understand what is going on.

Steps to follow

1. Fork it 🍴

You can get your own fork/copy of FreeCodeCamp wiki by using the Fork button or clicking this.

Fork Button

2. Clone it πŸ‘₯

Once you have forked the wiki repository in Github, you need to clone/download it to local machine with…

$ git clone

this makes a local copy in your machine.

3. Set it up πŸ†™

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 (fetch)
origin (push)

Magic ✨ ✨ πŸ‘€
Now lets add a reference to the original FreeCodeCamp wiki repository with…

$ git remote add upstream

this adds a new remote named upstream.

You may see the changes with…

$ git remote -v
origin (fetch)
origin (push)
upstream (fetch)
upstream (push)

4. Sync it β™»

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

5. Ready Steady Go… 🐒 πŸ‡

Once you have completed these steps, you are ready to start contributing by checking our Help Wanted Issues and creating new shiny ✨ pull requests.

Help Contributing Guides

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:

  • Browser 🌎
  • Desktop application πŸ’»

Happy Contributing πŸ˜ƒ

Need Help? Read CONTRIBUTING Guidelines
or Chat with us in FreeCodeCamp/Wiki