Skip to content

Instantly share code, notes, and snippets.

@samarpanda
Created November 4, 2019 11:08
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 samarpanda/1cd620fabf65b7a4320153161e58591d to your computer and use it in GitHub Desktop.
Save samarpanda/1cd620fabf65b7a4320153161e58591d to your computer and use it in GitHub Desktop.
Keeping update with upstream source

Keeping update with upstream source

  1. git remote add upstream <url_to_origin>
  2. git remote -v
  3. git fetch upstream
  4. git checkout master
  5. git merge upstream/master
  6. git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment