删除.DS_STORE
$ cd path/to/repo
$ find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
.gitignore文件中加入 .DS_STORE
提交版本库
$ cd path/to/repo
$ find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
.gitignore文件中加入 .DS_STORE
提交版本库
本文标题:git 问题汇总
本文链接:https://www.haomeiwen.com/subject/orueettx.html
网友评论