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?
--