小编dif*_*ewb的帖子

如何让diff看起来像svn diff?

我很愚蠢,没有google fu.你如何得到差异(在os x上,如果它重要......)看起来像svn差异?也无法从手册页中找到它.:(

我想要的是

Index: test.txt
===================================================================
--- test.txt (revision 365)
+++ test.txt (working copy)
@@ -1,7 +1,9 @@
 This
 is
 the
-original
+updated
+and
+awesomer
 file.

-Unf.
+Duh.
Run Code Online (Sandbox Code Playgroud)

svn diff

18
推荐指数
3
解决办法
5183
查看次数

标签 统计

diff ×1

svn ×1