threads / discuss / 59382

git alias for log with format - how to support --no-decorate?

Subject: git alias for log with format - how to support --no-decorate?

## tl;dr

One message between Mar 13, 2023 and Mar 13, 2023.

replies: 0people: 1as markdown or json

Jason Pyeron· Mar 13, 2023, 01:08 UTC · lore
Here is my alias 
alias.logg=log --format="%C(auto) %h% ad%d% s%C(green)% aE" --graph --date=short
besides creating another alias, can I make the %d silent when I pass --no-decorate?
Is my only hope using a shell function / command with a ! prefix?
-Jason
--
Jason Pyeron  | Architect
PD Inc        | Certified SBA 8(a)
10 w 24th St  | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
 
.mil: jason.j.pyeron.ctr@mail.mil
.com: jpyeron@pdinc.us
tel : 202-741-9397

← back to recent threads