2019-11-23-unable to autodetect email address解决方法

  1. unable to auto-detect email address解决方法

unable to auto-detect email address解决方法

categories: Git
git pull 失败 ,提示:fatal: refusing to merge unrelated histories

使用

git pull origin master --allow-unrelated-histories 

然后git提示unable to auto-detect email address,

  • .git文件夹下, vi config

  • 在最前面加上

    [user]
    email=your email
    name=your name
  • 不需要单引号


转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 tianyilt@qq.com

文章标题:2019-11-23-unable to autodetect email address解决方法

本文作者:tianyilt

发布时间:2019-12-07, 23:40:55

最后更新:2019-12-10, 08:53:01

原始链接:http://yoursite.com/2019/12/07/Git/2019-11-23-unable%20to%20autodetect%20email%20address%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95/

版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。

目录
×

喜欢就点赞,疼爱就打赏