public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* How to exclude tagged commits from git log <revision-range>?
@ 2025-06-25 20:30 M Hickford
  2025-06-25 20:47 ` Junio C Hamano
  2025-06-25 21:26 ` Jacob Keller
  0 siblings, 2 replies; 3+ messages in thread
From: M Hickford @ 2025-06-25 20:30 UTC (permalink / raw)
  To: Git Mailing List

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"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-25 21:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 20:30 How to exclude tagged commits from git log <revision-range>? M Hickford
2025-06-25 20:47 ` Junio C Hamano
2025-06-25 21:26 ` Jacob Keller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox