参考Mac取消提交.DS_Store
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
echo .DS_Store >> ~/.gitignore
git add --all
git commit -m '.DS_Store banished!'
git push origin master
微信扫一扫
参考Mac取消提交.DS_Store
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
echo .DS_Store >> ~/.gitignore
git add --all
git commit -m '.DS_Store banished!'
git push origin master
相关推荐