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.

Share:
12,068
Zerho
Author by

Zerho

Enthusiast about everything, Entrepreneur, Developer, Happy

Updated on June 07, 2022

Comments

  • Zerho
    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