インストール windowsのpython 3.10.x をダウンロード&インストールする https://www.python.org/downloads/ git-filter-repo をダウンロードする https://github.com/newren/git-filter-repo/ ※ルートの「git-filter-repo」だけで大丈夫だと思います 「2」でダウンロードした「git-filter-repo」の一行目の記述を変更する #!/usr/bin/env python3 ↓ #!/usr/bin/env python gitのサブプログラムのパスを確認する 確認コマンド: git--exec-path 「3」で変更した「git-filter-repo」を「4」の位置にコピーする コマンドを確認する git filter-repo