How can I search git log with ceratin keyword but without the other keyword?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, list

How can I search git log with ceratin keyword_a but without keyword_b?

Assume I have a branch master with 3 commits, the comments are t123,
b1 and b12 separately, that is:
b90b03f (HEAD -> master) b12
27f7577 b1
7268b40 t123

And now, I want to use git log --grep to search the log with the
keyword "12" but without t123. The result I want is
b90b03f b12

How can I achieve this?

Thank you for your attention to this matter.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux