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.
- From SourceTree, click the gear icon on the right side.
- 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.
- Press Add Account.
- 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.
- Press OK.
SourceTree returns you to the list of hosted accounts. You can add another if you like.
- Press Close when you are done adding accounts.
The system displays a list of your remote accounts.
- 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:
- From SourceTree, click Remote at the top.
The system displays your remote projects.
- Click Clone next to the repository you want to clone locally.
- 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!