githubリポジトリにアクセスしたところ、タイプミスで誤ってファイルをmsysgitに追加してしまったことがわかりました。「ドメイン」というディレクトリにファイルを追加する代わりに、「DOmain」にファイルを追加しました。
git mvを試しましたが、Windowsではパスで大文字と小文字が区別されず、移動に失敗します。
このような問題を解決するための最良の方法は何ですか?
mv「tempdir」などの他の何かにmv移動してから、適切な大文字に戻しますか?
Go back in history (git checkout someHash), create new dir with proper case, checkout the files from the wrong commit (git checkout someWrongHash someFiles), commit them, and then, reset HEAD to the new commit.
(And next time, don't torture youreslf with git on Windows ;) )