Couldn't save uncommitted changes.


關於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就會提示你輸入賬號和密碼。

然后再切換分支就沒有問題了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM