Check out a branch

When you check out a branch, you should already have a local clone of the parent repository. The Bitbucket interface gives you the basic command for checking out a branch.

  1. Go to the repository's Source tab.
  2. Use the dropdown to filter for the branch you want to checkout.
  3. Press the  (clone) button.
    The system displays the appropriate clone command for your branch.
  4. Copy the command for checking out your branch.
  5. From a terminal on your local machine, change to the root directory of your repository clone.
  6. At the command line, enter the command copied from Bitbucket and press ENTER.

Last modified on Feb 22, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.