Shell/Bash: clone from a specific branch Example

By

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

clone specific branch

git clone --single-branch --branch  

clone from a specific branch

git clone -b  

clone a given branch github

git clone --single-branch --branch  

git clone specific branch only

git clone -b mybranch --single-branch git://sub.domain.com/repo.git


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

Others