eclipse - EGit 2.3 新增--no-ff 选项,如何使用?

标签 eclipse git eclipse-plugin egit git-merge

在 EGit 2.3 中,他们根据他们的发布文档添加了非快进 merge 功能

"Support git merge --no-ff as an EGit preference."

http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.3

我的问题是,您在哪里设置此首选项?我尝试了 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/

相关文章:

c++ - 如何在 Eclipse 中将 C 项目与 C++ 静态库(使用 opencv)链接

svn - Git:我应该忽略索引还是有 killer 级的应用程序?

linux - 无法在 redhat linux 服务器上安装 git

java - 如何在 Eclipse 中以编程方式打开查找类型对话框

java - 将项目添加到 Eclipse 工具栏

java - 如何更改 Eclipse 中的 "Dynamic Web Project"默认源和输出文件夹?

java - 在通话期间停止重复闹钟

java - 无法加载库 'xxx.dll' : Native library (win32-x86/xxx. dll) 在资源路径中找不到 (JNA + DLL + eclipse rcp)

git - git 存储库中损坏的图像

java - Google App Engine : WARNING: failed Server@3d484a8a: java.net.BindException:地址已在使用中