0
点赞
收藏
分享

微信扫一扫

git出现fatal: unable to auto-detect email address (got ‘用户@PC机.(none)’)

骨灰级搬砖工 2022-01-11 阅读 44

git出现fatal: unable to auto-detect email address (got ‘用户@PC机.(none)’)

解决方法:

  1. cd .git(进入git中的.git文件夹)找到config

  2. vim config, 按i进入编辑模式

  3. 在后面添加;

[user]
    email = your email
    name = your name

ps:以上的email和name随便自己设置

  1. 退出并保存即可

举报

相关推荐

0 条评论