

When you did everything right, that last commit should list the colon-ed file as renamed as you did not change the content and git commit should thus have detected the "file rename action" as-is.
#Kega fusion invalid screenshot path Patch
Note: if you don't like the homoglyphed filename patch -i assigned to the missing content, you can change it to anything you like before committing the result. Warning: you'll probably need to cleanup (delete) the empty clipped filenames produced by your earlier git checkout before proceeding! You now have the original content of the colon-ed files in your working directory and you're now ready to add these files to the git index and commit them as usual:
#Kega fusion invalid screenshot path windows
Note the colon in that filename: turns out GNU patch on windows (at least v2.7.6) uses a Unicode homoglyph to simulate a colon in a filename. Patching file Writing-Bops:-The-Bebop-Schema-Language.md This should list one or more files being patched as a result, e.g. If you forget -R, patch will ask (answer es) if you do specify -R patch will yak even more, so -f ( force) is in order to shut up patch and just do the job. Now that you have a patchfile, you can apply it to the current working directory: it must be applied in reverse ( -R): patch -R -f -i p.patch # ^^^^ reference the git hash with the offending original file(s) If you have multiple files with colons or other trouble, all the missing content will be listed in the patchfile: one patchfile to catch it all! git diff ec28c8ddd5f8c83d11604bcae69afb46d79b1029 > p.patch Use this next command to get a patch file with all the missing changes. (BTW: TortoiseGit would hang forever if you tried to diff/compare these commits!) Turns out we can get the missing content after we did git config core.protectNTFS falseīy running patch. Of course, we wanted to fix this in place, without going the extra 'sparse clone' or WSL mile.) ( In our case, we were messing about with a github wiki clone and ran into this issue of filenames containing colons. You're running Windows, using NTFS storage, git-for-windows with bash as your shell and have a patch.exe available ( patch -version should report something like "GNU patch 2.7.6").when you are tracking a third-party git repo.

