Skip to contentSkip to conversation

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

DISCUSSION Jason Pyeron 1 participant 1 message Mar 13, 2023

lore
Share & tools
lore
#0 lore raw

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: [email protected]
.com: [email protected]
tel : 202-741-9397