Last active
November 28, 2017 06:37
-
-
Save cyberfly/9633dad38b603874d9073a65b052cc33 to your computer and use it in GitHub Desktop.
GIT clone from branch repo https://stackoverflow.com/questions/1911109/how-to-clone-a-specific-git-branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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