6

I have a folder by the name 31 Files of - oop. When I try running this command:

git rm -rf 31 Files of - oop

I get this fatal error :

fatal: pathspec '31' did not match any files

How do I need to prepare the folder names with spaces for use in git?.

Sachin Prasad
  • 5,365
  • 12
  • 54
  • 101
Gandalf
  • 1
  • 29
  • 94
  • 165

1 Answers1

12

Try in this way :

git rm -rf "31 Files of - oop" Where 31 Files of - oop is your file name.

Sachin Prasad
  • 5,365
  • 12
  • 54
  • 101