Couldn't save uncommitted changes / unable to auto-detect email address錯誤

錯誤提示:

Couldn't save uncommitted changes.
			Tried to save uncommitted changes in stash before Update, but failed with an error.
			stash file://D:/Project_local_address: fatal: unable to auto-detect email address (got 'xxx@xxx.(none)')
			Cannot save the current index state
簡單的說就是你的git沒有配置global email地址或者是一個錯誤的email

你可以通過git --config user.name "your's email"設置一個郵箱,然後重新更新就OK了
 



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