I have a directory in my git repository (but not on my local system) named
It contains two quotation marks and two backslashes.
The problem is that with this directory in my repo it is not possible to checkout the contents completely because (error message:) git doesn't find a directory named
(I still can checkout every other directory and file separately..)
I already tried to escape the characters..
git rm -r '"my\\directory-name"'
git rm -r \"my\\\\directory-name\"
but git doesn't find any file matching. With git ls-tree HEAD I can see the directory in the repo.
Can anyone tell me how to remove such a directory from the git repo?