美文网首页
git错误:unable to auto-detect emai

git错误:unable to auto-detect emai

作者: huyiwan | 来源:发表于2019-08-02 10:49 被阅读0次

git commit的时候报如下错误
fatal: unable to auto-detect email address (got 'root@hu2i_ferhat.(none)')
找到工程目录,修改.git目录下的config文件vim ./.git/config,在文件里面添加
[user]
email=your email
name=your name

相关文章

网友评论

      本文标题:git错误:unable to auto-detect emai

      本文链接:https://www.haomeiwen.com/subject/evikdctx.html