iwalktheline iwalktheline - 17 days ago 5
Git Question

Impossible to git rm with special characters

I added files in my git repository that I want to remove now. I deleted it with

rm XXX
.
Now,
git status
shows me:

Changed but not updated:
deleted: "Sche\314\201ma application + interface.graffle"


No matter how I
git rm
it, I still have a :

fatal: pathspec 'Schêma application + interface.graffle' did not match any files


I tried to escape whitespaces with
\
, to escape
\
with
\\
, to escape
"
with
\"
. No matter what I tried, it failed.

Do you have hints?

Geo Geo
Answer

This will detect the remove:

git add -u
Comments