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

Checklist Buddy Available for Testing
Tweetz 2.0.0 Released
Tweetz 2.0 Beta
VSColorOutput 2.7 - Time Stamps
Fixed Focal-Length Eyeglasses, a Programmer's Best Friend
How to Choose the Right VPN Service
Two Handy Command Line Scripts
More... (1089)

Donate