Top "Git-filter-branch" questions

git filter-branch is a native Git tool used to extensively rewrite branches, and is often used to remove unwanted large or secret files from Git repository history.

How to change the author and committer name and e-mail of multiple commits in Git?

I was writing a simple script in the school computer, and committing the changes to Git (in a repo that …

git version-control git-filter-branch git-rewrite-history
How do you fix a bad merge, and replay your good commits onto a fixed merge?

I accidentally committed an unwanted file (filename.orig while resolving a merge) to my repository several commits ago, without me …

git git-filter-branch git-rewrite-history git-rm
Detach (move) subdirectory into separate Git repository

I have a Git repository which contains a number of subdirectories. Now I have found that one of the subdirectories …

git git-subtree git-filter-branch
git rm - fatal: pathspec did not match any files

I added over 9000 photos by accident to my project folder. And committed them. Then deleted them from disk. Committed. Now …

git git-filter-branch
Change first commit of project with Git?

I want to change something in the first commit of my project with out losing all subsequent commits. Is there …

git rebase git-filter-branch
How do I remove the old history from a git repository?

I'm afraid I couldn't find anything quite like this particular scenario. I have a git repository with a lot of …

git git-filter-branch
Remove sensitive files and their commits from Git history

I would like to put a Git project on GitHub but it contains certain files with sensitive data (usernames and …

git git-commit git-filter-branch git-rewrite-history
Completely remove files from Git repo and remote on GitHub

I accidentally added a folder of images and committed. Then, I made one more commit. Then I removed those files …

git git-remote git-filter-branch git-rm
Purging file from Git repo failed, unable to create new backup

I tried to remove a file from my remote repo by running: git filter-branch --index-filter 'git rm --cached --ignore-unmatch Rakefile' …

git git-commit git-filter-branch git-rewrite-history
Could I change my name and surname in all previous commits?

I would like to change my name, surname and email in my all commits, is it possible?

git git-filter-branch