git commit時候出現的問題


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

復制代碼
 1 $ git commit -a -m 'v6'
 2 
 3 *** Please tell me who you are.
 4 
 5 Run
 6 
 7   git config --global user.email "you@example.com"
 8   git config --global user.name "Your Name"
 9 
10 to set your account's default identity.
11 Omit --global to set the identity only in this repository.
12 
13 fatal: unable to auto-detect email address (got 'Administrator@WIN-20170405AQW.(
14 none)')
復制代碼

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

1 git config --global user.email "8252507933@qq.com"
2 git config --global user.name "qichueng"


免責聲明!

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



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