Created
December 19, 2017 11:23
-
-
Save knight42/56dbc1302d409318fb34fa5441dae5a7 to your computer and use it in GitHub Desktop.
Git clone a single branch
This file contains 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
# Excerpt from https://stackoverflow.com/a/14930421/4725840 | |
git clone -b mybranch --single-branch git://sub.domain.com/repo.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment