by SamBorick on 10/31/23, 4:00 PM with 3 comments
Hi HN, sometime in the last year someone posted a project that would modify git history in a repository based on a provided schedule. You could specify a time range, and it would go through and move commits outside of that time range. I've googled and checked the various HN search products, but I haven't been able to find it! Does anyone remember?
by oftenwrong on 11/4/23, 5:22 PM
I am not familiar with a project that does that specifically. However, you can easily perform that type of operation with git-filter-repo and its --commit-callback flag , which lets you modify commit objects with a custom Python snippet.
https://github.com/newren/git-filter-repo
by cpach on 10/31/23, 7:24 PM
What was the purpose of this tool?