Brian C. Lane
Brian C. Lane

color output from git log -p on OSX

Share Tweet Share

By default git on OSX wasn't colorizing its output. Two things needed to be setup - setting the color.ui to auto and setting the pager (less) to allow raw characters. Add this to ~/.gitconfig

[color]
ui = auto
[core]
pager = less -R

Presto! Nice colorized output from git!


Receive Updates

ATOM

Contacts