Git初始设置
2018年1月12日设置姓名和邮箱地址
设置姓名邮箱是为了让其他开发者更容易找到这个代码是谁提交的。--global
代表全局设置,针对当前计算机的所有
1 |
$ git config --global user.name "填写你的名字" |
1 |
$ git config --global user.email "填写你的邮箱" |
提高可读性
语法高亮提高可读性
1 |
$ git config --global color.ui auto |