color 

Send to Kindle
home » snippets » git » color



Example

In ~/.gitconfig

[color]
    diff = auto
    grep = auto
    interactive = auto
    status = auto
    branch = auto
    showbranch = auto
    ui = auto

[color "diff"]
    plain = normal
    meta = bold
    frag = magenta bold
    old = red reverse
    new = green reverse
    commit = blue
    whitespace = white reverse

[color "branch"]
    current = yellow black
    local = blue
    remote = red
    plain = normal

[color "status"]
    header = normal
    added = blue
    updated = green
    changed = red
    untracked = red bold
    branch = Magenta
    nobranch = red

[color "grep"]
    match = normal

[color "interactive"]
    prompt = normal
    header = normal
    help = normal
    error = normal