git and Umlauts
I had a folder named “TransportAufträge” on MAC OSX which was versioned by git.
I then changed the name (before committing) to “TransportAuftraege”.
Now when trying to commit, I get the following error message:
- Is there a setting with git to allow a clone to use http on one OS and ssh on another?
- Git autocrlf setting for mac and windows
- Pre-commit hook for git to play sound clip
- Cannot find FileMerge (opendiff tool) but I have xcode 4.6 installed
- Installed Git + EGit and Then “No Companion Library Found” Error Occurs!
- GitHub for Mac crashes on open because of local repository issue
error: pathspec ‘”App/ViewControllers/TransportAuftra\314\210ge/TransportAuftraege.h”‘ did not match any file(s) known to git.
error: pathspec ‘”App/ViewControllers/TransportAuftra\314\210ge/TransportAuftraege.m”‘ did not match any file(s) known to git.
error: pathspec ‘”App/ViewControllers/TransportAuftra\314\210ge/TransportAuftraege.xib”‘ did not match any file(s) known to git.
It seems like git did not notice that I renamed the folder?
One Solution collect form web for “git and Umlauts”
When renaming a file under source control, you should use Git to do the rename, e.g.
git mv TransportAufträge.h TransportAuftraege.h git mv TransportAufträge.m TransportAuftraege.m git mv TransportAufträge.xib TransportAuftraege.xib
Fortunately, you should be able just to rename the files back to the original names (using Finder or the normal
mv command) and then run these
git mv commands.