忽略 TFS 合并上的文件
我最近从 svn 商店转移到使用 TFS 的商店。我在使用 TFS 合并时遇到的问题之一是忽略文件。我们的分支有几个我们不想合并的文件(版本信息、ivy 文件等),每次运行合并时我们都必须手动取消选中它们。我知道在 SVN 中有一个文件属性可以设置为在合并期间忽略文件,TFS 有类似的东西吗?
提前致谢
I recently moved from a svn shop to one that uses TFS. One of the issues I'm having in using the TFS merge is ignoring files. Our branches have several files that we never want to merge(version info, ivy files etc) and we have to manually uncheck them each time we run a merge. I know in SVN there is a file property you can set to ignore files during a merge, does TFS have anything similar?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从命令行,您可以使用如下所示的内容:
这将更新合并历史记录,就好像文件已经被合并一样,因此它不会继续出现在合并候选列表中。
From the command line, you can use something like the following:
That will update the merge history as if the file had been already merged, so it won't continue appearing in the merge candidates list.