首页 > 其他 > 详细

git提交错误 git config --global user.email "you@example.com" git config --global user.name "Your Name

时间:2020-07-08 10:00:09      阅读:90      评论:0      收藏:0      [点我收藏+]

Commit failed - exit code 128 received, with output: ‘*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account‘s default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <>) not allowed‘

 

解决方案:

需要到项目的.git\config文件最后加入

[user]
    name = github的名字
    email = email邮箱

git提交错误 git config --global user.email "you@example.com" git config --global user.name "Your Name

原文:https://www.cnblogs.com/Isla-xigua/p/13264721.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!