Skip to content

Instantly share code, notes, and snippets.

@kyuden
Created February 8, 2014 18:40
Show Gist options
  • Save kyuden/8888098 to your computer and use it in GitHub Desktop.
Save kyuden/8888098 to your computer and use it in GitHub Desktop.
how to clone remote_branch on local
# display remote_branch
gir branch -r
# clone remote_branch on local
git checkout 'branch_name' origin/'branch_name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment