Skip to content

Instantly share code, notes, and snippets.

@git-ashish
Created May 30, 2013 09:15
Show Gist options
  • Select an option

  • Save git-ashish/5676686 to your computer and use it in GitHub Desktop.

Select an option

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