How can I disassociate a repo with SourceTree without deleting it from the disk?

Somehow, I've created a new repo on sourcetree which is an existing local folder that I cannot afford to lose. I have not commited anything so it's just sitting there with all my other sub folders/files waiting to be commited. I want to 'delete the repo from SourceTree/Git' without deleting it from the disk. Disassociate it with git entirely. Any idea how I can do this?

1 answer

1 accepted

This widget could not be displayed.

Hi Tuana, when you right click on the repo you have the option to delete it. Then you can choose to only delete the bookmark, or to completely remove this repository from your disk (see screenshot).

Screen Shot 2017-06-21 at 13.56.04.png

Make sure to delete just the bookmark.

Let us know if you have any questions!



Hi Ana, 

Thank you very much, all is good now :)

Glad I could help you, Tuana :)

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...

879 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