DEV Community

Jesse Houwing for Xebia Microsoft Services

Posted on • Originally published at jessehouwing.net on

Installing git-filter-repo on windows

Installing git-filter-repo on windows

I've been trying to get git-filter-repo to work on Windows and WSL today and it's been quite a struggle. The docs are pretty limited and call out I may have to update some values in the script itself to make things work. But doesn't spell out what to fix and how to make it work.

I ended up doing the following:

1. Install Python on Windows

Install Python for Windows 3.10. And enable long-path-support. I did not use the store version, though it should do the trick as well.

2. Add Python to the path

Add the path to Python and its Scrips folder to the environment.

Installing git-filter-repo on windows

3. Install git-filter-repo using pip3

c:\> pip3 install git-filter-repo
Enter fullscreen mode Exit fullscreen mode

And be done with it!

It's probably not the Python way of doing things, but I can now use the tool I need. If you know a better way of solving this problem, let me know.

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more