简体   繁体   中英

How do I get Putty to show color coding on git output?

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 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM