git error: Your local changes to the following files would be overwritten by merge:xxxxxx ,Please co

 

git報錯php

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

解決辦法

phpstorm的操做html

 1.在整個項目上右鍵-【git】-【Repository】-【Stash Changes】 而後按照默認設置直接點擊 【Create Stash】git

2.在直接進行pull操做phpstorm

在整個項目上右鍵-【git】-【Repository】-【Pull】ide

 

 

 

 

參考資料工具

Git 工具 - 儲藏(Stashing)idea

相關文章
相關標籤/搜索