git merge的--rerere-autoupdate选项的默认行为是什么?

bbmckpt7  于 9个月前  发布在  Git
关注(0)|答案(1)|浏览(119)

git merge的文档解释了两个可用的选项--no-rerere-autoupdate和--rerere-autoupdate如下:
--rerere-autoupdate--no-rerere-autoupdate
在rerere机制重用当前冲突的记录解决方案来更新工作树中的文件之后,允许它也使用解决方案的结果更新索引。--no-rerere-autoupdate是一个很好的方法,可以在使用单独的git add将结果提交到索引之前仔细检查rerere做了什么并捕获潜在的错误合并。
那么,如果没有指定任何内容,默认行为是什么?是--no-rerere-autoupdate还是--rerere-autoupdate?可以配置吗?

svmlkihl

svmlkihl1#

git config rerere.autoUpdate true

字符串
假的。
见文档。

相关问题