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. From the repository's Branches tab, click the branch you want to checkout.
  2. Press the Check out button to display the appropriate check out command.
  3. Copy the command (or choose Check out in Sourcetree if you'd rather use Sourcetree).
  4. Open the terminal on your local machine and change to the root directory of your repository.
  5. At the command line, enter the copied command from Bitbucket and press ENTER.

Last modified on May 9, 2018

Was this helpful?

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