How do you remove a Mercurial repository
I accidently put a Mercurial repository开发者_开发技巧 in the wrong place. How do I remove it? This is in Linux.
Recursively remove the .hg
directory? You can also just move it; they are portable, and the setup files inside of .hg
contain no absolute paths that would break if placed elsewhere on the system.
From the comments: rm -r .hg
精彩评论