git status⼀diff命令中怎样以彩色显示改动状态

2025-05-08 10:24:30
推荐回答(1个)
回答1:

做如下配置,则git会在可能的情况下用彩色显示。
git config --global color.ui auto