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

How to transfer or retain local branches when switching machines?

jaredhughestsd September 21, 2020

I switched laptops and pulled my remote repo, however I will be losing an abundance of local branches which I was hoping to keep. Is there a way for me to retain those in the SourceTree on my new machine?

(I delete my remotes after completing PRs so I can't just pull them all and checkout local copies)

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2020

Your branches are stored in your local repository, not in Sourcetree. So the only way to retain your branches is to move your local repositories over to your new machine.

jaredhughestsd September 21, 2020

Ahhhh ok, Thanks! I'll update my repo and then transfer the folder! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events