Skip to content

Instantly share code, notes, and snippets.

@smithbr
Last active December 17, 2015 17:39
Show Gist options
  • Save smithbr/5647694 to your computer and use it in GitHub Desktop.
Save smithbr/5647694 to your computer and use it in GitHub Desktop.
Keeping a GitHub fork updated
git clone git@github.com:user/repo.git
cd repo
git remote add upstream git@github.com:user/repo.git
git fetch upstream
git rebase upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment