Skip to content

Instantly share code, notes, and snippets.

@chrishokamp
Last active August 29, 2015 14:07
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 chrishokamp/b0476c419dcc8c7d50f6 to your computer and use it in GitHub Desktop.
Save chrishokamp/b0476c419dcc8c7d50f6 to your computer and use it in GitHub Desktop.
how to add an upstream remote, and pull from upstream
# cd into your top level directory ml-group/
# add a remote called 'upstream'
git remote add upstream https://github.com/dcumachinelearning/ml-group.git
# pull from upstream
git pull upstream master
# push the new commits from upstream to your fork on github
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment