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了
 

猜你喜欢

转载自blog.csdn.net/PanADE/article/details/75478510