Git Colors

We can makes Git’s status, branch, and diff commands much more readable by ading the following to ~/.gitconfig:

[color]
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
untracked = cyan

Categories: Technologies
vinova: