Chcę usunąć wszystkie pliki z Git w ~/bin /.Nie można usunąć plików rekursywnie z Git
biegnę
git rm -r --cached ~/.vim/* # Thanks to Pate in finding --cached!
uzyskać
fatal: pathspec '.vim/colors' did not match any files
Ten błąd messsage sugeruje mi użyć następujących ścieżek, ponieważ ~/.vim/** nie działa
~/.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
Jak usunąć wszystkie pliki i podkatalogi z ~/.vim z Git?
-
@Vonc: Dziękuję za pomoc! –