Gandalf
Gandalf

Reputation: 13683

How git deals with folder names with spaces

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

Upvotes: 6

Views: 10367

Answers (1)

Sachin Prasad
Sachin Prasad

Reputation: 5411

Try in this way :

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

Upvotes: 12

Related Questions