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

后端 未结 6 1721
隐瞒了意图╮
隐瞒了意图╮ 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条回答
  •  庸人自扰
    2020-12-12 21:42

    You can create alias to shorten this command

    git config --global alias.today 'log --since=7am'
    

    and then execute:

    git today
    

提交回复
热议问题