How can I permanently forget T4 generated files from being version control using Mercurial?
It seems that Visual Studio (VisualHG) automatically adding them to version control.
How can I permanently forget T4 generated files from being version control using Mercurial?
It seems that Visual Studio (VisualHG) automatically adding them to version control.
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.
Use hg forget
, and then add the generated files to your .hgignore
file so they won't get added again.