返回

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

解决Git Push时的邮箱地址自动检测警告
2021-06-15
git
130 字 · 约 1 分钟阅读

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

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

[user]
    email = xxx
    user = xxx

即可消除这个警告

留言

发表留言