Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git clone single branch

# clone only the remote primary HEAD (default: origin/master)
git clone <url> --single-branch

# as in:
git clone <url> --branch <branch> --single-branch [<folder>]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #clone #single #branch
ADD COMMENT
Topic
Name
2+2 =