$ cat "

Colorizing Your Git Output

"

If the output from your git commands is not colorized, it is time to bring out the old git config.

Either you configure git with the git config commands from a shell:

git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto

or you open up ~/.gitconfig in your favourite text editor and add the following section:

[color]
branch = auto
diff = auto
interactive = auto
status = auto

Given that you have a decent shell you can now enjoy the full glory of your git output.

Written by Erik Öjebo 2010-10-28 20:46

    Comments