Skip to content

Instantly share code, notes, and snippets.

@carltondickson
Created January 2, 2015 09:53
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 carltondickson/27fc62d1725ec373678c to your computer and use it in GitHub Desktop.
Save carltondickson/27fc62d1725ec373678c to your computer and use it in GitHub Desktop.
Get and track a new remote branch
git fetch
git branch --track branch-name origin/branch-name
# From http://stackoverflow.com/a/11262780/682754
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment