Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jjsub/8ebf8516ef83e3a238ea to your computer and use it in GitHub Desktop.
Save jjsub/8ebf8516ef83e3a238ea to your computer and use it in GitHub Desktop.
How to synchronize your github fork with "original" repository
Working with a fork repo pushing to your own Forked repo and keep up to date with the original repo without losing your work.
- First fork the repo ( remote/On-github)
$ git clone <dir_name>
- cd in to the dir
$ git remote add upstream ( this will add upstream to your repo with the "original" fork repo )
$ git pull upstream master
$ git push
For more info go to => http://share.ez.no/blogs/virgil-ciobanu/how-to-syncronize-your-github-fork-with-original-repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment