Colour for GIT output
If You want to enable color output for git
try :
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto
If You want to set a custom color set, the syntax would be:
git config --global color.diff.meta "blue black bold"
or just add some color to .gitconfig
:
[color]
grep = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green