Skip to content

Instantly share code, notes, and snippets.

@git-ashish
Created May 30, 2013 09:15
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 git-ashish/5676686 to your computer and use it in GitHub Desktop.
Save git-ashish/5676686 to your computer and use it in GitHub Desktop.
Track a newly added Remote repo's branch
git remote show origin
git remote update
git fetch
git checkout -b local-name origin/remote-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment