How do I merge new Sourcetree install with existing local files & bitbucket?

mwsasser January 6, 2015

I recently had to rebuild my workstation.  The backups of my htdocs are fine and they match the files on bitbucket.  How do I mesh the two back together?  What are the steps?

Sorry if I am not using the correct terminology. 

2 answers

1 accepted

1 vote
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2015

In the Sourcetree "Add Repository" dialog, use the "Add Working Copy" tab. That will add an existing local repository to SourceTree.

If that doesn't work, make sure that your htdocs backup includes a .git folder. If it does not, then you only backed up your working copy, not your whole repo, and you'll need to re-clone from bitbucket.

0 votes
mwsasser January 8, 2015

Thanks Seth.  I had problems with this in the past, apparently it was because the .git folder was missing.  Apparently I got lucky this time.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events