關於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就會提示你輸入賬號和密碼。
然后再切換分支就沒有問題了。
