SourceTree a Free Git and Mercurial GUI (Mac OSX)

Atlassian SourceTree is a GUI client you can use to quickly and easily view the status of Git, Mercurial, and Subversion source repositories. SourceTree provides special support for hosted DVCS systems such as Bitbucket Cloud and GitHub. Using a single SourceTree client, you can work with local repositories and hosted repositories in multiple source control systems. Why not install SourceTree and give it a try to see if it is a fit for you?

Adding a new account to SourceTree

Adding an account allows you to add repositories to SourceTree.

  1. From SourceTree, click the gear icon on the right side.
  2. Select Settings.

    The system displays a list of the hosted accounts it knows about. If this is the first time you have run this, the list is empty.
  3. Press Add Account.
  4. Complete the dialog:

    The Username is your account name. The password you provide is your account password. You can choose whether you prefer connecting through HTTPS or SSH.
  5. Press OK.
    SourceTree returns you to the list of hosted accounts. You can add another if you like.
  6. Press Close when you are done adding accounts.
    The system displays a list of your remote accounts.
  7. Press Close.

You'll notice that the SourceTree does not list all your hosted repositories. You'll need to clone from a hosted repository or create a local repository to add to this list.

Clone a remote repository

To clone a remote repository to your local machine, do the following:

  1. From SourceTree, click Remote at the top.

    The system displays your remote projects.
  2. Click Clone next to the repository you want to clone locally.
  3. The Clone a repository popup appears with all the fields already filled out. If you want, you can update the Destination Path or directory Name. Click Clone when you are done.
    The system adds the clone to your list of Local repositories.

Doing more with SourceTree

For most things you can do from the command line, you can do with SourceTree too! To learn more, try SourceTree yourself or check out our Tutorial: Learn SourceTree with Bitbucket Cloud.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport