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
git代码提交删除.DS_Store
最新推荐文章于 2023-09-05 08:30:53 发布
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