$ git diff diff --git a/runoob.php b/runoob.php index e69de29..ac60739 100644 --- a/runoob.php +++ b/runoob.php @@ -0,0 +1,3 @@ +<?php +echo 1; +?>
来源https://www.runoob.com/git/git-branch.html
diff是显示与上次相比改动的地方,+代表增加一行代码,-代表删去一行代码