關於git提交commit的問題

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 'root@ubuntu.(none)')

解決辦法:

git config --global user.email "[email protected]"

git config --global user.name "Your Name"

執行以上兩個步驟就OK了!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章