Move to a new Mac

Hi

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

This widget could not be displayed.

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)?

This widget could not be displayed.

Hi

I mean the commit history, branches etc yes!

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

Thanks

This widget could not be displayed.

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 May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

873 views 2 3
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