如何让Git日志显示今天的所有提交? [英] How to make Git log show all of today's commits?
本文介绍了如何让Git日志显示今天的所有提交?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望能够使用 git log
来查看我今天所做的所有提交。我想出了 git log --after =yesterday
但是,这对我来说似乎有些尴尬,是否有一个更简单的命令来实现编辑:由于这是被接受的答案,我不能删除它,所以我在这里张贴@ Simon的回答:
git log --since =6am
当然,您可以将时间调整到任何早晨足够的时间:)
I want to be able to see all of the commits I made today using git log
. I came up with git log --after="yesterday"
However, that seems a little awkward to me, is there a simpler command to achieve the same effect?
解决方案
Edit: Since this is the accepted answer I can't delete it, so I'm posting here @Simon's answer:
git log --since="6am"
And of course you can adjust the time to whatever is "morning" enough for you :)
这篇关于如何让Git日志显示今天的所有提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文