How can I permanently forget T4 generated files from being version control using Mercurial?
How can I perman开发者_Python百科ently forget T4 generated files from being version control using Mercurial?
It seems that Visual Studio (VisualHG) automatically adding them to version control.
Use hg forget
, and then add the generated files to your .hgignore
file so they won't get added again.
There is a hg forget
command which will remove files from version control, but without deleting them from your working copy. The files will be deleted from everybody else's working copies when they pull the changeset and update.
You'll probably also want to add the files to your .hgignore
file so that you know they stay unversioned.
精彩评论