Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Git-Filter-Repo

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation on Ubuntu / Debian

wajig install git-filter-repo

Example Usages

Note: git-filter-repo changes the history commits of a Git repository which is a dangerous operation. Make sure you know what you are doing!

git filter-repo --strip-blobs-bigger-than 30M --force

References

https://github.com/newren/git-filter-repo

Comments