git - delete a folder from the repository after adding it to .gitignore A folder is still in the git repo although .gitignore lists it? git rm -r —cached takes it out of the index without deleting it locally, …