错误提示:
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了
本文介绍了一个关于Git操作中未能正确保存未提交更改的问题及解决方案。主要原因是Git全局邮箱地址未配置或配置错误,文中提供了如何通过命令设置正确的邮箱地址的方法。
492

被折叠的 条评论
为什么被折叠?



