Skip to content

Instantly share code, notes, and snippets.

@cyberfly
Last active November 28, 2017 06:37
Show Gist options
  • Select an option

  • Save cyberfly/9633dad38b603874d9073a65b052cc33 to your computer and use it in GitHub Desktop.

Select an option

Save cyberfly/9633dad38b603874d9073a65b052cc33 to your computer and use it in GitHub Desktop.
//check list of available remote branch
git branch -a
git clone -b <branch> <remote_repo>
//example
git clone -b my-branch [email protected]:user/myproject.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment