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'

需要到项目 .git\config文件最后加入

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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM