git提交错误 git config --global user.email "[email protected]" git config --global user.name "Your Name

git commit -am '新添加的文件内容描述'报错信息:

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 = name
    email = email

猜你喜欢

转载自www.cnblogs.com/chong-zuo3322/p/12820052.html