Skip to content

Instantly share code, notes, and snippets.

@jamesflorentino
Last active August 29, 2015 14:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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