git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git log alias with --all and --exclude
@ 2024-09-04  9:06 Rene Kita
  2024-09-04 16:49 ` Johannes Sixt
  0 siblings, 1 reply; 6+ messages in thread
From: Rene Kita @ 2024-09-04  9:06 UTC (permalink / raw)
  To: git

I have an alias
'gr = log --oneline --abbrev-commit --all --graph --decorate --color'
and I would like to be able to sometimes exclude a branch, so call it
with:
$ git gr --exclude=pattern

This does not work, though. Also does not work without the alias and
typing the complete command by hand. Apparently the --exclude must be
put before the --all to take effect.

May I ask to change that behavior and allow to put the --exclude at the
end of the alias?

Rene

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

end of thread, other threads:[~2024-09-05  5:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04  9:06 git log alias with --all and --exclude Rene Kita
2024-09-04 16:49 ` Johannes Sixt
2024-09-04 18:08   ` Rene Kita
2024-09-04 19:58     ` Jacob Keller
2024-09-04 20:45       ` Junio C Hamano
2024-09-05  5:23         ` Rene Kita

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).