I recently updated from git 1.7.7.1 to git 1.8.3, and now I experience problems with files that contain umlauts in their names. When I try to remove them, I get the error
fatal: pathspec 'Tiefkühl_Buttons_60px.gif' did not match any files
In the file system the file exists with this name, in git-bash it is listed as "Tiefk\374hl_Buttons_60px.gif"
, in my Git-Frontent (SmartGit 4.5) it appreas as Tiefk�hl_Buttons_60px.gif
.
When using the git-bash, I cannot delete this file, because I cannot type a ü
character (simply doesn't work). When I try to use the escaped octet (\374
) it is interpreted as path-segment (Tiefk/374l_Buttons_60px.gif
)
When using the normal commandline (cmd.exe) and invoking the git.exe, I get the error
Warning: Your console font probably doesn't support Unicode. If you experience
strange characters in the output, consider switching to a TrueType font such as
Lucida Console!
Switching the font leads again to the first error.
I tried to invoke the command through a BAT-File stored as ANSI (with 0xFC
as the code for ü
) and UTF-8, still no success.
I also tried to call git add -u .
to add the file to the index and remove it later, but that simply doesn't add it
Is there any other option to remove a file from git?