自从GitHub Mac应用程序开始不鼓励我在提交中编写冗长的摘要文本以来,我一直在使用Description字段来记录更多细节。
我使用我的git日志生成一个如下所示的changelog:
> git log --pretty=%s --since "last wednesday"
Prevents a double 'error #8' message
This should be part of e074d5b
Logging out while offline is problematic...
Make the Pinterest sharing choices less ambiguous
Sometimes the download buttons disappeared
Downloading wasn't prompting subscriptions on iPad但是,现在我想包括描述文本,这样当我以这种方式更新我的changelog时,我不会错过任何细节。我在git book http://git-scm.com/book/en/Git-Basics-Viewing-the-Commit-History的这个页面上的列表中没有看到任何关于description的东西
发布于 2014-06-06 19:07:56
不要紧,是通过git help log找到的。
git log --pretty='%s %b'做到了这一点。
https://stackoverflow.com/questions/24080307
复制相似问题