关于idea切换分支报错的问题。

Couldn't save uncommitted changes.
Tried to save uncommitted changes in stash before Update, but failed with an error.
stash file://E:/Users/zkj/IdeaProjects/mps: unable to auto-detect email address (got 'zkj@DESKTOP-8HT89AC.(none)')
Cannot save the current index state

原因是你没有输入账号和密码。你可以修改当前分支一个文件,然后再提交一下,idea就会提示你输入账号和密码。

然后再切换分支就没有问题了。

相关文章:

  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-06-28
  • 2021-07-26
猜你喜欢
  • 2021-06-17
  • 2021-07-05
  • 2022-12-23
  • 2021-07-24
  • 2021-10-12
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案