How to make Git log show all of today's commits?

agentbanks217 picture agentbanks217 · Feb 25, 2011 · Viewed 17k times · Source

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?

Answer

abyx picture abyx · Mar 3, 2011

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 :)