📅  最后修改于: 2022-03-11 14:50:40.491000             🧑  作者: Mango
git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
git commit -am "Remove ignored files"
// answer from: thSoft