升级新版idea后,用Git pull时出现报错:
Your local changes will be overwritten by merge.Commit, stash, or revert them to proceed.
解决方案:
在IDEA terminal中直接运行如下命令将其删除
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
IDEA提示:rm '.DS_Store'
,此时,我们再pull已经成功了。