老师,我现在是最新commit与最新commit父类做对比,按照猜想,最新commit中的index.html文件内容应该比最新commit父类多了 <li>stash</li>内容,但是结果为什么是显示 -<li>stash</li>,这样让人以为是 最新commit中的index.html文件内容比最新commit父类少了<li>stash</li>,有些困惑。
Administrator@PC-DriveMan MINGW64 ~/git/learning (master)
$ git log --graph
* commit f41ccf53a5e12d3cba87d1ced74372c59d47dc3d (HEAD -> master)
| Author: driveman <driveman@qq.com>
| Date: Sat Dec 29 18:28:04 2018 +0800
|
| Modified index.html
|
* commit d10684e8df19bf6b2d11503d0b653a0c2142635c
| Author: driveman <driveman@qq.com>
| Date: Sat Dec 29 17:57:30 2018 +0800
|
| Deleted readme
|
* commit fc851887637061cc88c7556da9f625a1d92b8ecd
| Author: driveman <driveman@qq.com>
| Date: Fri Dec 28 17:17:40 2018 +0800
|
| Add a first command with config
|
* commit 02161b292b04aa3391ae6a6d5c89461c7141bb3f
| Author: driveman <driveman@qq.com>
| Date: Tue Dec 25 19:12:35 2018 +0800
|
| Create a web
|
| Add index.html
|
| Add image/git-logo.png
|
| Add js/script.js
|
| Add styles
|
* commit 2fb364994b6d98209a00d6ba61848836c1c97d9a
Author: driveman <driveman@qq.com>
Date: Tue Dec 25 19:09:19 2018 +0800
Add readme
Administrator@PC-DriveMan MINGW64 ~/git/learning (master)
$ git diff f41ccf53a5 d10684e8df19bf
diff --git a/index.html b/index.html
index 3d11247..4fbef7a 100644
--- a/index.html
+++ b/index.html
@@ -30,7 +30,7 @@
<div class="panel">
<ol>
<li>config</li>
- <li>stash</li>
+ <li></li>
<li></li>
<li></li>
<li></li>
展开