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