上QQ阅读APP看书,第一时间看更新
The commit message
Just under the author and date, after a blank line, we can see the message we attached to the commit we made; even the message is part of the commit itself.
But there's something more under the hood; let's try to use the git log command with the --format=fuller option:
[13] ~/grocery (master) $ git log --format=fuller commit a57d783905e6a35032d9b0583f052fb42d5a1308 Author: Ferdinando Santacroce <ferdinando.santacroce@gmail.com> AuthorDate: Thu Aug 17 13:51:33 2017 +0200 Commit: Ferdinando Santacroce <ferdinando.santacroce@gmail.com> CommitDate: Thu Aug 17 13:51:33 2017 +0200 Add a banana to the shopping list