How to delete local Hg repository
12,068
Removing the .hg folder is sufficient. You will lose the VCS metadata (project history, previous versions of all files), which is stored there.
![Zerho](https://i.stack.imgur.com/bhOJs.jpg?s=256&g=1)
Author by
Zerho
Enthusiast about everything, Entrepreneur, Developer, Happy
Updated on June 07, 2022Comments
-
Zerho about 2 years
it's a simple question but i didn't found answers elsewhere. I need to delete a local Hg repository and all related files without deleting the code, is there a proper command? i thought that deleting the .hg folder wasn't enough. thanks