Shujima Blog

Apple製品,技術系の話をするブログ

Windowsでgit-filter-repo 書きかけ

自分はpython3.9がインストール済みだった

主にこちらに従っていく

sleepost.hatenablog.com

詰まったところ

そもそもscoopが入ってない

qiita.com

Powershell

Set-ExecutionPolicy RemoteSigned -scope CurrentUser
invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

以下のようなエラーが出た

git filter-repo -hを実行したところ

Traceback (most recent call last):
  File "C:\Users\***\scoop\apps\git-filter-repo\current\git_filter_repo.py", line 1, in <module>
    git-filter-repo
NameError: name 'git' is not defined

これは以下の手順で解決 github-com.translate.goog

git

当ブログをご利用いただく際には免責事項をお読みください。