Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to git clone a specific branch

# Using gh CLI

gh repo clone <username>/<reponame> -- -b <branchname>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #clone #specific #branch
ADD COMMENT
Topic
Name
9+6 =