When cloning a different branch, change the command in the UI

XMLWordPrintable

      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

      1. Enter a repository in bitbucket
      2. Change the branch
      3. Click Clone 

      Workaround

      You have to select the branch manually
      git clone <repo url> --branch <branch name> --single-branch

            Assignee:
            Unassigned
            Reporter:
            Giovanni Andrade (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: