IntelliJ Idea:在合并时禁用自动提交

时间:2016-06-09 04:27:25

标签: git intellij-idea merge

我想在分支对话中合并分支时,在Intellij Idea上禁用合并时自动提交,如下所示。

enter image description here

我知道如果我们使用合并分支对话,我可以选择No Commit

enter image description here

当我从分支视图对话框中合并branch时,我可以在合并时禁用自动提交吗?

2 个答案:

答案 0 :(得分:5)

虽然您目前无法在IDEA中对其进行配置,但仍有可能 在你的git配置中设置它。这将影响包括IDEA在内的所有git客户端。

 git config --global merge.commit no

答案 1 :(得分:1)

使用PyCharm按照以下步骤操作,在Idea

上几乎相同

enter image description here

enter image description here

enter image description here