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
Accepted answer

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!

Cheers,

Ana

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 Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

837 views 3 2
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