Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

clone specific branch

In general:

git clone -b <branch> <remote_repo>

Example:

git clone -b develop git@github.com:user/myproject.git
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clone #specific #branch
ADD COMMENT
Topic
Name
1+3 =