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

 1 Commit failed - exit code 128 received, with output: '*** Please tell me who you are.
 2 
 3 Run
 4 
 5   git config --global user.email "you@example.com"
 6   git config --global user.name "Your Name"
 7 
 8 to set your account's default identity.
 9 Omit --global to set the identity only in this repository.
10 
11 fatal: empty ident name (for <>) not allowed'

需要到项目 .gitconfig文件最后加入

1 [user]
2     name = yannan
3     email = 781369549@qq.com

原文地址:https://www.cnblogs.com/zhj868/p/14238159.html