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