git log 通过提交内容来搜索commit git log -g --grep='init project' 显示某个提交的具体内容 git show <commit-id> 转载于:https://my.oschina.net/tingliang0/blog/904423