How to make Putty display color coding on git output?

I use Putty on Windows 7 to connect to a Debian VirtualBox installation, but I cannot get git commands through Putty to show color coding like git Bash on Windows. I can get (and set up) the usual Putty color (ANSI?) For things like files and folders, but I don't see how to set the colors for the output of the git command.

+7
source share
2 answers

Launch:

git config --global color.ui true 
+13
source

Try git config color.ui true . If you see color files and folders, it means that your terminal settings are correct, therefore Git should not be configured to display colors.

+1
source

All Articles