git-filter-repo Questions

3

Solved

So I'm trying to use git filter-repo for the first time. I've installed Python 3.9. I try to run: git filter-repo --strip-blobs-bigger-than 100M Each time it fails: Git Bash: git: 'filter-repo' is...
Qualification asked 8/1, 2021 at 9:59

2

Solved

I installed git-filter-repo via scoop, tried multiple git filter-repo commands e.g. git filter-repo -h, they all logged nothing, no warning or error, just nothing. Tried rebooting, reinstalling, an...
Huang asked 28/9, 2021 at 2:36

2

Solved

I installed git-filter-repo via scoop, tried multiple git filter-repo commands e.g. git filter-repo -h, they all logged nothing, no warning or error, just nothing. Tried rebooting, reinstalling, an...
Tubman asked 28/9, 2021 at 2:36

2

Solved

In the past I've used git filter-branch to remove files from my git history. Following that, I can do a force push to update the remote repository. For example, removing all HTML files from the loc...
Andrej asked 25/2, 2021 at 17:37

0

Based on this, I've tried to run git-filter-repo on a git local repo to replace some plain data in a single docker-compose.yml file using this expressions.txt file: literal:DB_NAME=my_secret_databa...
Moonshine asked 28/1, 2021 at 1:7

1

Solved

I'm busy converting all my existing SVN repositories to Git, and at the same time also take the opportunity to use Git's ability to easily rewrite some history. For this I'm also using git filter-r...
Misbehave asked 8/10, 2020 at 8:33

1

For example at How to use git filter-repo as a library with the Python module interface? I managed to modify blobs of older commits for refactoring purposes with something like: def blob_callback(b...
Convexoconcave asked 2/10, 2020 at 10:30

1

I know I give the Python code as a string in the command line for example as: git-filter-repo --name-callback 'return name.replace(b"Wiliam", b"William")' but especially as I g...
Enki asked 1/10, 2020 at 18:5

1

I want to use git filter-repo to automatically apply some scripted style-guide refactoring for my multi-commit pull requests. Therefore I want to apply the operations only to the few latest new com...
Pule asked 1/10, 2020 at 11:38

2

Solved

I have a git repo which has some invalid folder and source committed and deleted. I want to rewrite the history by git filter-repo. Is it possible to keep the commit hash not changing when doing re...
Pusher asked 28/7, 2020 at 1:33

1

Solved

Using git-filter-repo is it possible to combine N repositories into a mono-repository re-writing the commits so that the commits are interwoven, or "zippered" up by date? Currently, I'm testing th...
Momus asked 8/6, 2020 at 19:46

2

Solved

While trying to use git filter-branch to merge repos using this gist. Adding just the relevant snippet in question: git filter-branch -f --prune-empty --tree-filter ' mkdir -p "${REPO_NAME}_tmp" ...
Abnormity asked 25/4, 2020 at 3:37

2

Solved

I'm reading about what git filter-repo can do because I want to do a small experiment with it.... I have this repo where I only want to get the history of one directory from, say.... master..... bu...
Beaming asked 13/12, 2019 at 3:2
1

© 2022 - 2025 — McMap. All rights reserved.