gpt4 book ai didi

windows - 如何让 Putty 在 git 输出上显示颜色编码?

转载 作者:可可西里 更新时间:2023-11-01 12:42:46 24 4
gpt4 key购买 nike

我在 Windows 7 上使用 Putty 连接到 VirtualBox Debian 安装,但我无法通过 Putty 获取 git 命令来显示颜色编码,就像 Git Bash 在 Windows 上所做的那样。我可以获得(并配置)普通 Putty (ANSI?) 为文件和文件夹等内容着色,但我没有看到任何地方如何为 git 命令输出配置颜色。

最佳答案

启动:

git config --global color.ui true

关于windows - 如何让 Putty 在 git 输出上显示颜色编码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9896987/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com