如何才能永久忘记使用 Mercurial 进行版本控制的 T4 生成文件?

发布于 2024-09-11 02:05:03 字数 95 浏览 0 评论 0原文

如何才能永久忘记使用 Mercurial 进行版本控制的 T4 生成文件?

Visual Studio (VisualHG) 似乎自动将它们添加到版本控制中。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

下壹個目標 2024-09-18 02:05:03

使用 hgforget,然后将生成的文件添加到 .hgignore 文件中,这样它们就不会再次添加。

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

巡山小妖精 2024-09-18 02:05:03

有一个 hg忘记 命令将从版本控制中删除文件,但不会从工作副本中删除它们。当其他人拉取变更集并更新时,这些文件将从中从其他人的工作副本中删除。

您可能还想将这些文件添加到您的 .hgignore 文件中,以便您知道它们保持未版本化。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文