Skip to content

Instantly share code, notes, and snippets.

@jazio
Created July 17, 2017 08:57
Show Gist options
  • Save jazio/84c834a720875b4e389c703d473ab3f7 to your computer and use it in GitHub Desktop.
Save jazio/84c834a720875b4e389c703d473ab3f7 to your computer and use it in GitHub Desktop.
Keeping a fork up to date
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git pull upstream master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment