iwalktheline iwalktheline - 1 year ago 62
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
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
, to escape
. No matter what I tried, it failed.

Do you have hints?

Geo Geo
Answer Source

This will detect the remove:

git add -u
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download