Search code examples
gitgit-log

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


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?


Solution

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