From: Carlo Arenas Date: Fri, 10 Jul 2020 08:14:28 GMT Subject: Re: How can I search git log with ceratin keyword but without the other keyword? Message-ID: In-Reply-To: it is easier to write specific "not match" using PCRE syntax, but there are several other options to choose from combining as many expressions as needed from the `git log` man page: git log -P --all-match --grep '12' --grep '\b(?!t123\b)\w+' Carlo