Skip to content

Instantly share code, notes, and snippets.

@apux
Created January 30, 2019 16:34
Show Gist options
  • Save apux/cd186b02dc7d9d8a925db4ff8a93b7ab to your computer and use it in GitHub Desktop.
Save apux/cd186b02dc7d9d8a925db4ff8a93b7ab to your computer and use it in GitHub Desktop.
Fetch git from upstream
git remote -v
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git remote -v
git fetch upstream
git checkout master
git rebase upstream/master # git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment