Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to migrate SourceTree and Git to another mac and have everything there???

All we have at this point is a timemachine backup of a macbook pro that had SourceTree working about 6 months ago.

We are trying to restore everything needed to have SourceTree working like it was on that macbook pro.  I am still looking for how to get the credentials and settings for our remote git repository.  Yep, we do not have the password nor login name for that repository any more.  Yet I know that macbook pro had it configured so all I would have to do is run SourceTree.  I would not have to login to anything.

Where are all the files I need to get this configured and working?

 

3 answers

After a horrendous beer spillage, I'm in the process of carefully restoring only the elements I need temporarily to a spare MBP.

From my TimeMachine, I'm VERY VERY carefully pulling files from :

/Volumes/TimeMachine/Backups.backupdb/<MachineName>/Latest/Macintosh HD - Data/Users/<UserName>/Library/Application Support/SourceTree

And when I say carefully .... only start doing this sort of thing if you fully accept all responsibility for messing things up.

 For example, I thought I'd created the same name on both MBPs. I hadn't. So I'm editing the paths to fit.

Just be careful. Don't go blindly accepting everything without validating/checking/having a new Time Machine backup in play/etc.

0 votes
bgannin Atlassian Team Feb 11, 2019

Hi @Paul Levin,

Sourcetree for Mac uses a combination of methods to store all the items you asked about.

1. "Repository Settings" are stored in the local copy of the repository, you'd need to restore that and then update to the latest commit

2. Registration for the app is stored for the current user, restoring that should restore the appropriate files

3. Authentication requires a combination of Keychain items and encrypted files in the user's Application Support directory. Restoring both of those should bring back the authentication if all the other items are back in place. 

Hope that helps.

Brian Ganninger
Principal Developer, Sourcetree

Can you please give me specific paths and filenames?

SourceTree has the old computer's paths for each local repository.  There are about 40 of them.  Where can I easily change the root part of the path for the new computer, for all of the repositories?

Can someone provide an actionable answer to my question?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,202 views 19 18
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you