【发布时间】:2013-09-05 02:30:18
【问题描述】:
Git 文档有以下内容:
branch.<name>.rebase
When true, rebase the branch <name> on top of the fetched branch, instead of merging the default branch from the default remote when "git pull" is run. See "pull.rebase" for doing this in a non branch-specific manner.
如果我使用该分支的名称,一切都是完美的,但我想将此选项应用于具有通用模式的分支集,例如“feature-branch-*”,这些分支将是短暂的而且我不想在 git config 中单独管理它的配置。
有没有人知道如何做到这一点,或者这是不可能的?
【问题讨论】:
-
您是否尝试过使用虚拟仓库中的模式来查看会发生什么?
-
我尝试使用配置为
git config feature-branch-*.rebase true的示例项目,但它不起作用
标签: git git-rebase git-pull git-config