TFS 中的统一差异 [英] Unified Diff in TFS

查看:27
本文介绍了TFS 中的统一差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道这(生成统一的差异)是否可行,如果可行,怎么做?

Anyone know if this (generating a unified diff) is possible and if so, how?

谢谢.

推荐答案

It's tf diff/shelveset:/格式:统一.但是,请注意,与大多数现代版本控制系统不同,TFS 实际上不能使用补丁文件 afaik.也就是说,您不能将 diff 的结果应用到一组文件中以获取结果更改.(大多数人所做的是压缩更改的文件并将其作为补丁"删除并替换.哎呀.)

It's tf diff /shelveset:<set> /format:unified. However, note that unlike most modern version-control systems, TFS can't actually work with patch files afaik. That is, you can't take the result of the diff and apply it to a set of files to get the resulting changes. (What most people do is zip up the files that changed and drop-and-replace that as a "patch". Ick.)

这篇关于TFS 中的统一差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆