Skip to content

Instantly share code, notes, and snippets.

@stevepentler
Last active April 15, 2016 03:11
Show Gist options
  • Save stevepentler/a85b2eb4b2ce9f9eebd5 to your computer and use it in GitHub Desktop.
Save stevepentler/a85b2eb4b2ce9f9eebd5 to your computer and use it in GitHub Desktop.
if you need to add upstream
- git remote -v to check
- git remote (add) upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPO.git => sets remote to upstream repo(ex: ruby submissions)
- git fetch upstream
- git checkout master
- git pull upstream master
- git merge upstream master
- git remote -v should be original
Fetching upstrea...
1. git fetch upstream
2. git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment