LoginSignup
4
1

More than 1 year has passed since last update.

windowsにgit-filter-repoをインストールする

Posted at

2022-02時点になります

インストール

  1. windowsのpython 3.10.x をダウンロード&インストールする
    https://www.python.org/downloads/
    image.png
  2. git-filter-repo をダウンロードする
    https://github.com/newren/git-filter-repo/
    ※ルートの「git-filter-repo」だけで大丈夫だと思います
    image.png
  3. 「2」でダウンロードした「git-filter-repo」の一行目の記述を変更する
    #!/usr/bin/env python3

    #!/usr/bin/env python
    image.png
  4. gitのサブプログラムのパスを確認する
    確認コマンド: git--exec-path
  5. 「3」で変更した「git-filter-repo」を「4」の位置にコピーする
  6. コマンドを確認する
    git filter-repo
4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1