Why does a deleted, local repository come back?

I have a folder of SQL files I want to track changes on. In learning the software I messed things up and just want to delete the repository and start over.

I've tried deleting the bookmark and deleting the folder (I had created a backup), but when I create a new repository of that folder it still remembers the old branches/changes and everything from the repository I thought I deleted.

How do I REALLY delete the repository?


2 answers

Never mind. It's a git issue not a SourceTree issue.

There is a hidden directory named ".git" That stores all the repository data. When you backed up the folder, that directory would have been included.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published 12 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

231 views 5 14
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot