Coloring git diff in console

Create ~/.gitconfig
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true

Fine grain control
[color “status”]
added = green
changed = red bold
untracked = magenta bold

[color “branch”]
remote = yellow

Coloring git diff in console

Leave a Reply

Your email address will not be published. Required fields are marked *