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

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

你可能感兴趣的:(GitHub)