1. Clone fork:
1 2 |
git clone git@github.com:MY-USERNAME/MY-FORKED-REPO.git |
2. Add remote from original repository:
1 2 3 4 |
cd into/cloned/fork-repo git remote add upstream git://github.com/ORIGINAL-USERNAME/ORIGINAL-REPO-YOU.git git fetch upstream |
3. Update fork with changes from original repo:
1 |
git pull upstream master |
Related:
- https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/
- https://help.github.com/articles/syncing-a-fork/