git

Git commands

To remove files from the GIT repository based on .gitignore, without deleting them from the local file system:

git ls-files -i -c -X .gitignore | xargs git rm --cached
Subscribe to git