开发者

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

开发者 https://www.devze.com 2023-01-08 21:30 出处:网络
How can I perman开发者_Python百科ently 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消