使用androidstudion,更新项目出现如下错误:
Couldn't save uncommitted changes.
Tried to save uncommitted changes in stash before Update, but failed with an error.
stash file://D:/AndroidProject/YxzWholeSale: fatal: unable to auto-detect email address (got 'lyf@DESKTOP-DPJTL5E.(none)')
Cannot save the current index state
根据报错提示分析:git本地仓库邮箱地址为空,不能自动连接。
因此设置好本地仓库,连接远程git即可解决
解决方法:
https://blog.csdn.net/zuo_er_lyf/article/details/54176272
以上链接是我之前写的一边关于git的文章,如果安装了github,安装接下来的操作4步骤,5步骤即可解决以上问题