git error: Your local changes to the following files would be overwritten by merge: Please commit your changes or stash them before you merge.解決辦法


 

git pull操作出現的問題:


error: Your local changes to the following files would be overwritten by merge:
.idea/workspace.xml
.idea/zlhcec.com.iml
Please commit your changes or stash them before you merge.
Aborting

 

 

 

解決辦法:

 

git reset --hard  實際操作可行

參考:

https://stackoverflow.com/questions/15745045/how-do-i-resolve-git-saying-commit-your-changes-or-stash-them-before-you-can-me


免責聲明!

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



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