Github的初始设置

设置姓名和邮箱地址

git config --global user.name "Firstname Lastname"

git config --global user.email "[email protected]"

这个命令,会在"~/.gitconfig"中以如下形式输出设置文件

[user]

  name=Firstname Lastname

  [email protected]

提高命令输出的可读性

git config --global color.ui auto

扫描二维码关注公众号,回复: 7686130 查看本文章

这样一来,各种命令的输出会变得更容易分辨:

[color]

  ui=auto

猜你喜欢

转载自www.cnblogs.com/zhichun/p/11764157.html