Skip to content
Rafael J. Rodriguez edited this page Apr 29, 2016 · 12 revisions

Welcome to the Free Code Camp Wiki!

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:

  • Curriculum
  • Local Campsite Communities
  • Nonprofit Projects

Get a Fork ready

  1. Fork it: You can get your own fork of our wiki by using the button or clicking this.

Fork Button

  1. Once you have forked the repository, you will clone it with:
$git clone https://github.com/YOUR-USERNAME/wiki.git

This will make a local copy on your machine.

  1. Add the remote: You will need a way to keep your fork synchronized with the original repository. The following command will show you verbose list of the current remotes you have.
$git remote -v
origin  https://github.com/YOUR_USERNAME/wiki.git (fetch)
origin  https://github.com/YOUR_USERNAME/wiki.git (push)

This means there is no remote pointing to the original repository you forked from. You would add it with:

$git remote add upstream https://github.com/FreeCodeCamp/wiki.git

This will create a new remote named upstream. You can verify the changes with git remote -v

$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)
  1. Sync the fork when needed: After another PR has been merged, you will need to fetch the changes and rebase your work.
$git fetch --all --prune # fetch all remote repos and delete any deleted branches
$git checkout master # switch to `master` branch
$git rebase --preserve-merges upstream/master # preserve merge commits while rebasing
### or better
$git reset --hard upstream/master # SAFE! to do as `master` branch shouldn't be committed to directly
$git push origin master # push changes to your forked wiki repo
  1. Once you have completed these steps, you can start contributing by checking our issues and creating new pull requests.

Contribution Guides

We currently have a couple of guides to help you contribute, via the browser, command line or desktop application. You can find this and many more guides and information on the Wiki Central Page.

Clone this wiki locally