返回

Git警告:无法自动检测邮箱地址的解决方案

2021-06-15
Git

Git Push的时候出现警告“fatal: unable to auto-detect email address ”

只需要更改当前仓库下的.git/config文件,在其中加入

[user]
    email = xxx
    user = xxx

即可消除这个警告