小编bea*_*eau的帖子

Git:所有分支的默认"无提交"合并行为?

我希望"git merge"默认不提交(即,我希望默认情况下为"--no-commit"行为),而不管目标分支如何.

我知道特定分支的"git config branch.master.mergeoptions",我知道默认情况下在所有分支上禁用快进的"git config merge.noff no".

以下所有实验均不适合我.他们应该吗?

  • git config branch.mergeoptions --no-commit
  • git config branch.*.mergeoptions --no-commit
  • git config merge.com没有

似乎无法通过谷歌搜索找到答案.

git git-merge git-config

6
推荐指数
1
解决办法
717
查看次数

标签 统计

git ×1

git-config ×1

git-merge ×1