Git出现Couldn't save uncommitted changes.问题的解决

来源:互联网 发布:java电子书 编辑:程序博客网 时间:2024/05/21 21:38

  最近在idea环境下,拉取代码时出现了如下图:


提示内容:
tried to save uncommitted changes in stash before Updates,but failed with an error.

stash file://************ :fatal:'stash' appears to be a git command,but we were not.

这个问题主要是idea环境的git配置问题导致的,将git配置好,记得是bin\git.exe,不要配置错了。




  修改了之后,重新拉取代码,已经OK。可能需要重新输入git的账号和密码

阅读全文
0 0
原创粉丝点击