在 EGit 2.3 中,他们根据他们的发布文档添加了非快进 merge 功能
"Support git merge --no-ff as an EGit preference."
我的问题是,您在哪里设置此首选项?我尝试了 Preferences -> Team -> Git -> Configuration -> Repository Settings 然后在 [Core] 下设置 mergeoptions = --no-ff 但这似乎不起作用。
最佳答案
识别以下 merge 选项,用于所有分支:
[merge]
ff = true|false|only
当你只想为某个分支配置它时,使用以下:
[branch "name"]
mergeoptions = --ff|--no-ff|--ff-only
我还扩展了 New and Noteworthy 中的描述.
关于eclipse - EGit 2.3 新增--no-ff 选项,如何使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15140149/