I'm trying to follow this answer, which recommends using git-filter-repo.
What I've tried; what happened:
- Download just the file
git-filter-repo, edit my PATH to include it, rungit-filter-repo,python git-filter-repo,python3 git-filter-repo,python git filter-repo,git filter-repo. In all of these cases, the command (python, python3, git) cannot find the file/operation (git-filter-repo, filter-repo). (I'm always running these commands from my personal git folder that I want to use the git-filter-repo script on.) - Clone the repo, add the repo to my PATH. Run
git-filter-repo,python git-filter-repo,python3 git-filter-repo. In all cases, the command cannot find the file/operation. - I noticed that when I cloned, I ran into the symlink issue mentioned in the install documentation. So I copy/pasted
git-filter-repointogit-filter-repo.py. Added the repo/foldergit-filter-repoto my path. Again, tried the different commands, nothing worked. - Same repo with
git-filter-repo.pybeing edited, but nowgit-filter-repo/git-filter-repois on the path. No luck. - Same repo with
git-filter-repo.pybeing edited, but nowgit-filter-repo/git-filter-repo.pyis on the path. No luck.
Is there something that I did that should have worked? (I may have missed some combination of commands and path editing when testing.) If not, how do I run git-filter-repo on my personal repo?