You need your partner to change the names so that they are also valid on Windows. After they renamed them, I would do the following:
- Make a backup copy of any changes that you made only locally (both uncommitted and committed, but not sent).
- Run
git reset --hard <commit> where <commit> is any commit that was before the files were added. - Run
git pull to go to the latest version (where the files are renamed). - Restore your backup changes from 1.
Then you should get a newer version, where the files are not named in this, on Windows, in an illegal way and they will not be deleted (or ever created) from under the OS bastard :)
PS I know this is an old question, but I recently got this problem, so hopefully the solution I came to can help others as well.
Svend hansen
source share