git ls-files -i --exclude-from=.gitignore | xargs git rm --cached