rm - Unable to remove files recursively from Git -


I get all the files from git ~ / bin /

  git rm -r - cached ~ / .vim / * #cache Thank you for stomping to find out!  

I get

  Fatal: pathspec '.vim / colors' does not match any files  

This error Messsage suggests to me using the following PATHs, since ~ / .vim / ** does not work

  ~ / .vim / * # I get an error ~ / Removes files from the index on .vim / * / * / * # it ~ / .vim / folderA / folderB / file1.txt ~ / .vim / * / * # # Similar error in path  < / Pre> 

How can you remove all files and subdirectories from Git on ~ / .vim?

-

  git rm -r - cached ~ / .vim / * Fatal: pathspec '.vim / colors' does not match any files  

1 / You do not need ' * ' :

. Vim / colors' does not match any file simply it means that you tried one of your commands before the one listed / 1 has worked, and there is no more file to delete. !

  # To test that command, restart the status of the repository first # Reset $ git in any other current modifications - Check Hard # RM works $ Git rm -r - cached ~ / .vim rm '.vim / apath / aFile1' rm '.vim / aecondpath / aFile2' rm '.vim / atherpath / aFile3' # Try it again $ git rm -r - Raw ~ / .vim Fatal: Pathspeak '.vim / colors  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -