git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-filter-repo on Windows

From
FAFrancis ANDRE <francis.andre.kampbell@orange.fr>
Date
Sep 22, 2020, 16:03 UTC
Message-ID
<8345312a-40aa-b582-50d7-714b8f518ecc@orange.fr>
Hello Git people

Since I understood that the git-filter-repo is now recommanded by Git to replace git-filter-branch, I am trying to use it on Windows 10 under a DOS window. The installation and use of this git-filter-repo is really a nigthmare on DOS Win10. As there is a git-for-windows specific installation, could you make also an installation a little bit more Window oriented?

C:\Users\fandre\Documents\MXW\MI\release>git filter-repo --analyse /usr/bin/env: 'python3': Permission denied

C:\Users\fandre\Documents\MXW\MI\release>git filter-repo --analyse /usr/bin/env: 'python': Permission denied

C:\Users\fandre\Documents\MXW\MI\release>where python3 C:\Users\fandre\AppData\Local\Microsoft\WindowsApps\python3.exe

Same with a git-bash window:

FAE@FANDRE-LAPTOP MINGW64 ~/Documents/MXW/MI/release (release) $ git filter-repo --analyse /usr/bin/env: 'python': Permission denied

FAE@FANDRE-LAPTOP MINGW64 ~/Documents/MXW/MI/release (release) $ ls -l /c/Users/fandre/AppData/Local/Microsoft/WindowsApps/python -rwxr-xr-x 1 FAE 1049089 0 Sep 22 10:59 /c/Users/fandre/AppData/Local/Microsoft/WindowsApps/python*

$ env | grep USER USERDOMAIN=METRIXWARE USERNAME=FAE USERPROFILE=C:\Users\fandre USERDOMAIN_ROAMINGPROFILE=METRIXWARE FPS_BROWSER_USER_PROFILE_STRING=Default USERDNSDOMAIN=METRIXWARE.LOCAL ALLUSERSPROFILE=C:\ProgramData UIPATH_USER_SERVICE_PATH=C:\Users\fandre\AppData\Local\UiPath\app-20.4.3\UiPath.Service.UserHost.exe

Regards
Next: Johannes Schindelin
Message 1 of 2 in “git-filter-repo on Windows”
  1. Francis ANDRESep 22, 2020
  2. Johannes SchindelinSep 28, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.