Skip to content

Instantly share code, notes, and snippets.

@zats
Created November 13, 2012 20:52
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 zats/4068316 to your computer and use it in GitHub Desktop.
Save zats/4068316 to your computer and use it in GitHub Desktop.
Updating fork from original repository
# Adding original repository as a fork
git remote add --track master forked_from git://github.com/user/repo.git
# Fetch from remote called forked_from
git fetch forked_from
# Merging codeabase
git merge forked_from/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment