Search code examples
visual-studio-2010mercurialt4visualhg

How can I permanently forget T4 generated files from being version control using Mercurial?


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.


Solution

  • Use hg forget, and then add the generated files to your .hgignore file so they won't get added again.