今天用git pull来更新代码,遇到了下面的问题: error: Your local changes to the following files would be overwritten by merge: xxx/xxx/xxx.java Please, commit your changes or stash them before you can merge. Aborting 但是服务器没有任何手动修改文件行为,很奇怪经常遇到莫名的这类问题 好吧,算啦,直接说最终的解决办法吧 1.…