git commit 提交的時候,出現*** Please tell me who you are. git config --global 。。。問題


 $ git commit -a -m 'v6'
 
 *** Please tell me who you are.

  Run
  
    git config --global user.email "you@example.com"
    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: unable to auto-detect email address (got 'Administrator@WIN-20170405AQW.(none)')

 

解決方案: 見提示就知道, 要您填上你得注冊的郵箱和昵稱,例如:

git config --global user.email "xxxx@qq.com"
git config --global user.name "test"

 

OK!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM