Skip to content

Instantly share code, notes, and snippets.

@road42
Last active November 29, 2019 11:55
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 road42/b26f1985758d7e94005834a54c16b71f to your computer and use it in GitHub Desktop.
Save road42/b26f1985758d7e94005834a54c16b71f to your computer and use it in GitHub Desktop.
Git upstream handling ... for me to remember

GIT update upstream

For me to remember

Register upstream

From git documentation

git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git

Update local branch

git fetch upstream
git rebase upstream/branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment