使用命令git diff commit_id1 commit_id2
[root@git git_test]# git diff 2b9e2589379c5ca45 9cb4509991533d45b
diff --git a/git_test_file b/git_test_file
index bd72510..394fca6 100644
--- a/git_test_file
+++ b/git_test_file
@@ -1,2 +1 @@
fuchao
-test
使用命令git diff commit_id1 commit_id2
[root@git git_test]# git diff 2b9e2589379c5ca45 9cb4509991533d45b
diff --git a/git_test_file b/git_test_file
index bd72510..394fca6 100644
--- a/git_test_file
+++ b/git_test_file
@@ -1,2 +1 @@
fuchao
-test
本文标题:查看版本之间的差异
本文链接:https://www.haomeiwen.com/subject/keszhttx.html
网友评论