相关疑难解决方法(0)

在一系列提交中运行filter-branch

git filter-branch --env-filter '
export GIT_AUTHOR_EMAIL="foo@example.com"
export GIT_AUTHOR_NAME="foo"' -- commita..commitb
Run Code Online (Sandbox Code Playgroud)

结果是 Which ref do you want to rewrite?

因此,似乎filter-branch不允许您使用范围表示法使用两个任意引用之间的范围.

如果不可能采用这种方法,那么在一系列连续提交(分支历史中某处)上运行过滤器的最直接方法是什么.

git git-filter-branch

46
推荐指数
6
解决办法
2万
查看次数

标签 统计

git ×1

git-filter-branch ×1