问题
What is the hg command for removing a file from versioning but keeping it locally? I can do hg remove but that will also remove the file locally. It's the SDK files that I don't want to version.
回答1:
The command you are looking for is hg forget.
来源:https://stackoverflow.com/questions/16674732/removing-a-file-from-versioning-but-keeping-it-locally