項目同步到gitee,unable to auto-detect email address

項目同步到gitee時,git commit -m 'project initialized'報錯:unable to auto-detect email address

解決辦法:

在.git文件夾中找到config文件,文件最後添加

[user]
email=your email
name=your name

再運行就不會出錯了。

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