From: Jacob Keller Date: Wed, 25 Jun 2025 21:26:50 GMT Subject: Re: How to exclude tagged commits from git log ? Message-ID: <0595f247-745f-4d57-9d20-4c2065b6c902@intel.com> In-Reply-To: On 6/25/2025 1:30 PM, M Hickford wrote: > Hi. Is it possible to exclude tagged commits from a revision range? > > I tried > > git log --exclude=ref/tags/v* v2.3.0..v2.4.0 > > but this didn't exclude any commits. > > An inelegant workaround is: > > git log --oneline --decorate v2.3.0..v2.4.0 | grep --invert-match "tag: v" > What is your actual end goal with this git log? Why do you want to not see tag commits? I think your "inelegant" solution may be the only way to get what you want.