I am using Putty on Windows 7 to connect to a VirtualBox Debian install, but I am unable to get git commands through Putty to show color coding like Git Bash does on Windows. I can get (and configure) normal Putty (ANSI?) coloring for things like files and folders, but I am not seeing anywhere how to configure colors for git command output.
Git color values ui , these color settings can all be set to false, auto, or always. These color settings can also have a specific color value set. Some examples of supported color values are: normal. black.
Set it to always if you want all output not intended for machine consumption to use color, to true or auto if you want such output to use color when written to the terminal, or to false or never if you prefer git commands not to use color unless enabled explicitly with some other configuration or the --color option.
The git status command displays the state of the working directory and the staging area. It lets you see which changes have been staged, which haven't, and which files aren't being tracked by Git. Status output does not show you any information regarding the committed project history.
Launch:
git config --global color.ui true
Try git config color.ui true
. If you can see colored files & folders, it means your terminal settings are correct, so Git must not be configured to display colors.
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