关于 git 删除 .DS_Store
2015-06-12 19:45
190 查看
一. 删除原有的.DS_Store
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
二. 建立.gitignore文件
vi .gitignore
#增加一行.DS_Store
三. 提交到git
git add .gitignore
git commit -m '.DS_Store banished!'
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
二. 建立.gitignore文件
vi .gitignore
#增加一行.DS_Store
三. 提交到git
git add .gitignore
git commit -m '.DS_Store banished!'
相关文章推荐
- Who's in the Middle
- 黑马程序员 - 技术 blog18 之 Java 泛型 by 八戒
- Who's in the Middle 分类: POJ 2015-06-12 19:45 11人阅读 评论(0) 收藏
- iOS--CoreLocation地理反地理编码
- Oracle同义词
- C/C++自学路径
- 将QQ登录接口整合到你的网站和如何修改配置
- Java加密解密(一)Java加密体系基础
- 【BZOJ】【2730】【HNOI2012】矿场搭建
- 今天加入了“宇宙通史:木星”
- listView顶部悬浮效果实现几种方法
- Swift学习笔记 Introduction to Swift Programming for beginners
- 4.1 MapReduce架构(1.0)
- 成功是一种习惯,失败也是一种习惯
- Android如何压缩图片上传服务端
- linux 命令之 ping
- iOS开发UI篇—0408控制器View的生命周期方法
- 关于#define
- DevExpress 关于 GridView 表格编辑中 点击其他按钮里导致 值未取到处理
- DevExpress 中 在做全选的全消功能的时候 加快效率