Unable to remove files recursively from Git
I want to remove all files from Git at ~/bin/. I run git rm -r --cached ~/.vim/* # Thanks to Pate in finding --cached! I get fatal: pathspec '.vim/colors' did not match any files This error messsage suggests me to use the following PATHs, since ~/.vim/** does not work ~/.vim/* # I get the error ~/.vim/*/*/* # This removes files from the index at ~/.vim/folderA/folderB/file1.txt ~/.vim/*/* # similar error as to the first PATH How can you remove all files and subdirectories at ~/.vim from Git? -- git rm -r --cached ~/.vim/* fatal: pathspec '.vim/colors' did not match any files 1/ You do not need