Shell/Bash: clone specific branch Example


Shell/Bash Example: This is the "clone specific branch" Example. compiled from many sources on the internet by

clone specific branch

git clone --single-branch --branch  

clone specific branch

In general:

git clone -b  


git clone -b develop [email protected]:user/myproject.git

clone from a specific branch

git clone -b  

git clone from specific branch

git clone -b branchName repoUrl

git clone from specific branch command

git clone -b  

how do i clone a specific branch in git

git clone -b  

* Summary: This "clone specific branch" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!