How can I change a specific font color in git? How can I change a specific font color in git? git git

How can I change a specific font color in git?


git config --global color.status.updated magentagit config --global color.status.untracked magentagit config --global color.diff.old magenta

Substitute ”magenta” for whatever color desired. See the git-config documentation for more details.


I believe Git just uses terminal color codes... so you'd need to change your terminal's ANSI color code mappings to a different color. The method of doing this (and whether it's even possible) varies depending on the terminal.


I think Andrew's answer is not 100% accurate, color.status.updated default color is green not red.So my answer would be:

git config --global color.status.changed magentagit config --global color.status.untracked magentagit config --global color.diff.old magenta