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

1 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

791 views 0 4
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