TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Project that amends Git history based on a schedule

5 点作者 SamBorick超过 1 年前
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?

2 条评论

oftenwrong超过 1 年前
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.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;newren&#x2F;git-filter-repo">https:&#x2F;&#x2F;github.com&#x2F;newren&#x2F;git-filter-repo</a>
cpach超过 1 年前
What was the purpose of this tool?
评论 #38094674 未加载