Re:Git log – The good parts
by knux on Monday March 26, 2018 @12:13PM
(#16679944)
You can still add color when not piping or writing to a file with `--color=auto`.
[ Parent
| on HN ]
Re:Git log – The good parts
by yes_or_gnome on Monday March 26, 2018 @12:25PM
(#16680048)
This is likely to be said, "`--color=auto` is the default setting, so it's not needed." However, it's good to include it here because some users may have changed their default configuration to disable colors. This way `git log` works as their standard workflow and `git lg` for when they need a bit of color.