Forking a repo and setting it up on your local machine
======================================================
1. Fork the repo on github.com
2. Create local repo from your fork
$ git clone git@github.com:<your-username>/<repo-name>.git
3. Track the original remote repo
$ cd <repo-name>
$ git remote add upstream git://github.com/<remote-username>/<repo-name>.git
$ git fetch upstream
4. Push commits to your fork
$ git push origin master
5. Fetch any new changes from the original repo
$ git fetch upstream
$ git merge upstream/master
see http://help.github.com/fork-a-repo/
Version
1, updated 367 days ago.
. o 0 (
edit |
history )