-
Type:
Suggestion
-
Resolution: Won't Fix
-
Component/s: Repository - Source
-
None
Issue Summary
When cloning in the UI, if you click clone you can copy the clone command and paste it on your terminal, as you clone the entire repository all the branches come with the clone, however, you might want to clone a single branch if that's the case Bitbucket could provide an option to clone a single branch and update the command.
Steps to Reproduce
- Enter a repository in bitbucket
- Change the branch
- Click Clone
Workaround
You have to select the branch manually
git clone <repo url> --branch <branch name> --single-branch