我很蠢也不会用Google。如果有必要的话(在OS X上),你怎样才能让diff看起来像svn的diff?即使我看了手册页也没搞懂 :(
我的要求是:
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.