Move to a new Mac


I am working with xampp - hence my project is in users/david/applications/xampp/htdocs.

This is also the path that SourceTree keeps a history on.

I am moving to a new Mac soon and I want to copy this project. I will install SourceTree of course as well.

Where is the SourceTree "database" kept so I can transfer it to my new Mac?

Many thanks

3 answers

By database, do you mean the commit history, branches, etc? Or do you mean data like bookmarks and preferences? Also, are you using git or mercurial (hg)?


I mean the commit history, branches etc yes!

I assume I am using git, I don't know what mercurial is...


Ok, there should be a hidden folder in the root of your repository named either .git (if you use Git) or .hg (if you use Mercurial). As long as that folder gets copied with all of it's contents, you should be good.

You'll still need to add the repo to your bookmarks in the new installation of sourcetree.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

647 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you