Skip to content

Instantly share code, notes, and snippets.

@semagarcia
Created June 10, 2018 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save semagarcia/a1978a4761a46c1123dd666823cd5275 to your computer and use it in GitHub Desktop.
Save semagarcia/a1978a4761a46c1123dd666823cd5275 to your computer and use it in GitHub Desktop.
# 1. Clone your fork:
git clone <your-forked-repo>.git
# 2. Add remote from original repository in your forked repository:
cd forked-repo
git remote add upstream <your-forked-repo>.git
git fetch upstream
# 3. Updating your forked repo from original one to keep up with their changes:
git pull upstream master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment