查看命令:

查看用户名:

git config user.name

查看用户邮箱:

git config user.email

修改命令:

修改用户名:

git config --global user.name "Your_username"

修改用户邮箱:

git config --global user.email "Your_email"

注:user.name或者user.email后需有一个空格,再写你的用户名或者用户邮箱

 

相关文章: