I'm looking to change the 'red' font color in git to something that is more towards pink. I tend to keep my monitors pretty dim, and whenever I look through diffs, the red font on the black background is hard to read. So, is there a way to specify that I want it to use a different color for red, preferably using a single command?
I'm using msysgit with MINGW32 on Win7.
This now reads: --type=color [--default=<default>] is preferred over --get-color (but note that --get-color will omit the trailing newline printed by --type=color ). You can see git config --type=bool used with Git 2.26 (Q1 2020) to replace " git config --bool " calls in sample templates.
You can change the color of text in your Word document. Select the text that you want to change. On the Home tab, in the Font group, choose the arrow next to Font Color, and then select a color.
Markdown doesn't support color but you can inline HTML inside Markdown, e.g.: <span style="color:blue">some *blue* text</span>. As the original/official syntax rules state (emphasis added): Markdown's syntax is intended for one purpose: to be used as a format for writing for the web.
git config --global color.status.updated magenta
git config --global color.status.untracked magenta
git 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With