IDEA用git pull出现.DS_Store
升级新版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用git pull出现.DS_Store】IDEA提示:rm '.DS_Store',此时,我们再pull已经成功了。
推荐阅读
- Docker应用:容器间通信与Mariadb数据库主从复制
- JS中的各种宽高度定义及其应用
- 由浅入深理解AOP
- 【译】20个更有效地使用谷歌搜索的技巧
- 涉毒患者(新诗)
- 参保人员因患病来不及到指定的医疗机构就医,能否报销医疗费用()
- mybatisplus如何在xml的连表查询中使用queryWrapper
- MybatisPlus|MybatisPlus LambdaQueryWrapper使用int默认值的坑及解决
- MybatisPlus使用queryWrapper如何实现复杂查询
- 标签、语法规范、内联框架、超链接、CSS的编写位置、CSS语法、开发工具、块和内联、常用选择器、后代元素选择器、伪类、伪元素。