1、设置所有repository的邮箱地址,也就是全局邮箱地址:
1)打开Git Bash,直接去程序列表中打开;
2)通过git config输入你你想设置的邮箱地址:
$ git config --global user.email "email@example.com"
3)通过git config确定是否设置正确:
$ git config --global user.email
email@example.com
2、也可以针对指定repository设置邮箱地址:
1)打开Git Bash,切换到指定工作目录或者直接在指定工作目录右键打开Git Bash;
2)同全局邮箱设置操作相同,此处不累赘;