git设置文本颜色
? 在home目录下修改.gitconfig
?
? 添加以下代码:
[color] diff = auto status = auto branch = auto
?不用重启,直接起效。