Couldn't save uncommitted changes,Tried to save uncommitted changes in stash before update,but faile

昨天,我把项目拷贝下来电脑里面使用,BUG修复好了,要上传到码云进进行更新,但是IDE报错这样一个错,我顿时惊了。我看了一下错误,大概是git的邮箱地址有问题。

上图:
Couldn't save uncommitted changes,Tried to save uncommitted changes in stash before update,but faile

问题:没有配置Git全局邮箱

解决:

1、打开Git 安装的目录,打开Git Bash
Couldn't save uncommitted changes,Tried to save uncommitted changes in stash before update,but faile

2、双击打开Bash 输入命令,完成。
Couldn't save uncommitted changes,Tried to save uncommitted changes in stash before update,but faile

希望!~希望能帮到您。。
Couldn't save uncommitted changes,Tried to save uncommitted changes in stash before update,but faile

相关文章: