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

后端 未结 6 1714
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 20:51

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 litt

6条回答
  •  -上瘾入骨i
    2020-12-12 21:26

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

提交回复
热议问题