Sunday, August 21, 2011

configure git with color

To display color in the output of git diff, you need to configure git. Try running
$ git config --global color.diff true
to set your $HOME/.gitconfig appropriately.
To enable color for all:
$ git config --global color.ui true

No comments:

Post a Comment