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

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 = 你的名字
    email = 你的邮箱

 

posted on 2018-04-19 12:53  LKit  阅读(1090)  评论(0编辑  收藏  举报