Git提交代码时报 Please tell me who you are
生活随笔
收集整理的這篇文章主要介紹了
Git提交代码时报 Please tell me who you are
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
我是在執行 git commit -m “------” 指令提交代碼時出現了如下情況
*** Please tell me who you are.Rungit 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 'jinshu@DESKTOP-L5OTKGN.(none)')解決辦法
依次執行以下指令就可以了
git config --global user.email “你的郵箱” git config --global user.name “用戶名”效果:
總結
以上是生活随笔為你收集整理的Git提交代码时报 Please tell me who you are的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java中调用api的方式(postJs
- 下一篇: Required request bod