GIT - Applying .gitignore to committed files
// Edit and commit .gitignore, then git rm --cached /path/to/file git rm -r --cached /dir/