git-diff 的标记
$ git diff
diff --git a/test.txt b/test.txt
index 576477b..fcc85ae 100644
--- a/test.txt
+++ b/test.txt
@@ -1,6 +1,11 @@
this
is
a
+modified
text
file
.
+some
+new
+lines
+.
diff --git a/test.txt b/test.txt
index 576477b..fcc85ae 100644
--- a/test.txt
+++ b/test.txt
@@ -1,6 +1,11 @@
this
is
a
+modified
text
file
.
+some
+new
+lines
+.
@@ 用来表明这是一块
-1,6 表明这一块在修改前从第一行开始,总共有六行
+1,11 表明这一块在修改后从第一行开始,修改后总共有十一行
-和+表明新旧,不是加减的意思
浙公网安备 33010602011771号