用户名和邮箱的作用:
用户名和邮箱地址相当于你的身份标识
每次commit都会用用户名和邮箱纪录
查看用户名 邮箱
$ git config user.name
$ git config user.email
修改全局用户名 邮箱
$ git config --global user.name "xxx"
$ git config --global user.email "xxx"
用户名和邮箱的作用:
用户名和邮箱地址相当于你的身份标识
每次commit都会用用户名和邮箱纪录
查看用户名 邮箱
$ git config user.name
$ git config user.email
修改全局用户名 邮箱
$ git config --global user.name "xxx"
$ git config --global user.email "xxx"