git提交错误问题如何解决?

Commit failed - exit code 128 received, with output: '*** Please tell me who you are.
 
Run
 
  git config --global user.email "[email protected]"
  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 = 你的名字
    email = 你的邮箱

猜你喜欢

转载自www.cnblogs.com/LKit/p/8881859.html