Mike-Ward.Net

Seeing Red in Git

I have a hard time seeing the color red in the Windows command prompt. This is particularly bothersome when I’m using Git. I’ve tried changing the background but there are some utilities (I’m looking at you Chocolatey) that change the background back to black.

I’ve altered my .gitconfig file as follows:

[color]
    ui = auto

[color "status"]
  added = cyan bold
  changed = cyan bold
  nobranch = cyan bold
  untracked = cyan bold

[color "diff"]
  old = cyan bold

[color "branch"]
  remote = cyan bold

Example:

image

A nice reference to the default colors in Git can be found at Shallow Thoughts.

← newer older →
.Net, Technology, Life, Whatever

Recent Posts

Vertical Layout for HTML Tables
Visual Studio 2017 Installer Quick Tip
VSColorOutput for VS 2017 Released
Quick ReSharper tip for inline templates
NoSQL vs. NewSQL: What's the Difference?
Exploring Mithril, A JavaScript Framework for Building Brilliant Applications
Tweetz 1.1
More... (1075)

Donate with PayPal