Skip to content

Instantly share code, notes, and snippets.

@jamesflorentino
Last active August 29, 2015 14:03
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 jamesflorentino/83ee9f24014d03d09d18 to your computer and use it in GitHub Desktop.
Save jamesflorentino/83ee9f24014d03d09d18 to your computer and use it in GitHub Desktop.
Git and GitHub Tips

Syncing a Forked repo via command line

cd /path/to/your/forked/repo
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git fetch upstream
git merge upstream branch_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment