How to clone a specific branch in BitBucket.

How clone a specific branch in Bitbucket.

Try the below command

git clone --branch branchname cloneUrl

example

git clone --branch https://username@bitbucket.org/username/name_of_repo.git

Comments