Ignore files that have already been committed to a Git repository
git rm --cached git ls-files -i --exclude-from=.gitignore
git ls-files -i --exclude-from=.gitignore