📜  git remove all files in gitignore - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:05.846000             🧑  作者: Mango

代码示例3
git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
git commit -am "Remove ignored files"


// answer from: thSoft