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

1 messages from 2023-03-13 to 2023-03-13. Participants: Jason Pyeron.
Thread: https://gitlist.dev/t/59382

## Jason Pyeron, 2023-03-13 01:08

Subject: git alias for log with format - how to support --no-decorate?
Message-ID: <7390201d95548$5ba4bef0$12ee3cd0$@pdinc.us>
URL: https://gitlist.dev/e/7390201d95548%245ba4bef0%2412ee3cd0%24%40pdinc.us

```
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




```
