Git报错 unable to auto-detect email address (got '[email protected](none)')

今天在进行Git上传项目到github上面的时候,突然出现这个错误,通过百度和看错误提示,解决方案如下

找到上传项目目录的.git文件夹,打开之后找到config文件,在最后边加上一句话
[user]
email=your email
name=your name

相关文章: