Skip to content

Instantly share code, notes, and snippets.

@Adron
Created May 17, 2017 22: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 Adron/025d88548527d107c272e836ab9e0cc6 to your computer and use it in GitHub Desktop.
Save Adron/025d88548527d107c272e836ab9e0cc6 to your computer and use it in GitHub Desktop.
Branch X & Remote Upstream w & w/o Current Branch.
git branch -u upstream/localfoo
git branch -u upstream/localfoo localfoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment