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 hosted project in SourceTree

If you haven't already, start SourceTree. Then, do the following:

  1. Choose View > Show Hosted Projects from the menu bar.
    The system displays the Hosted Repositories dialog.
  2. Press Edit Accounts.
    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 hosted repositories and repositories your account is following.
  7. Press Close.

You'll notice that the SourceTree does not list your hosted repositories on your Bookmarks list. The bookmarks list is only for local repositories; you'll need to clone from a hosted repository or create a local repository to add to this list.

Clone a hosted project

To clone a hosted project to your local machine, you can do the following:

  1. Press Hosted Projects.

    The system displays your hosted projects.
  2. Select a project on the list.
  3. Right-click to show the context menu.
  4. Click Clone.
    The system adds the clone to your list of bookmarks.

Doing more with SourceTree

There is a lot more you can do with SourceTree as you can see with this repository viewer:

To learn more, try SourceTree yourself or review the Help that comes with it.

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