Git 25. 自定义Git

安装Git一节中,我们已经配置了 user.name 和 user.email ,实际上,Git还有很多可配置项。

比如,让Git显示颜色,会让命令输出看起来更醒目:

$ git config --global color.ui true

这样,Git会适当地显示不同的颜色,比如 git status 命令:

git-color

文件名就会标上颜色。

我们在后面还会介绍如何更好地配置Git,以便让你的工作更高效。

原文:https://www.liaoxuefeng.com/wiki/896043488029600/900785521032192

原文地址:https://www.cnblogs.com/hsinfo/p/13713372.html