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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,230 views 4 2
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