降级新版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曾经胜利了。