equivalence of: git log --exclude-author?

前端 未结 3 2079
时光说笑
时光说笑 2020-12-13 17:28

At work we have a git repo where the majority of all commits are automated commits by a bot user. There are times when I prefer to view a git log from that repo, but without

3条回答
  •  隐瞒了意图╮
    2020-12-13 17:57

    Some other answers reference portions of this, but I had success in my repo using the tactic I saw here

     git log --invert-grep --author=
    

    You can add as many author patterns as needed. In my case, the best pattern was the full email, since it is known to be unique

提交回复
热议问题