Set Commit and Push as default button

Is there a way to change the default button in "Commit Changes" dialog to "Commit and Push" instead of just Commit?

6

Unfortunately, there is no option to change the default behavior for the button.

However, you may want to disable buttons grouping via "Settings - Appearance & Behavior - Appearance | Window options -> Allow merging buttons on dialogs."

In this case, you will have a separate button for "Commit and Push".

 

As an option, you could use a keyboard shortcut (Ctrl+Alt+K on Windows).

3
Avatar
Permanently deleted user

I found this while looking to switch off again in 2020.2 version of Intelij ultimate mac. The option seems to have disappeared completely?

1

They must be kidding i want Allow merging buttons on dialogs back.

@..., yes it seems so, I can't find it eigher.

0

Hi all, got 2 news for you. 

1) the UI option for "Allow merging buttons on dialogs" is hidden in registry now. It's called "ide.allow.merge.buttons". Registry can be opened via Help > Find Action. Type Registry. You can use search-as-you-type to find options there.

2) Starting 2020.3 Commit and Commit & Push buttons are both visible now:

2

Hi,

the second point I already figured it out.
The first I was sure, that it must be there, but Google was helpless and I do not remember, how to get into registry options.

Thank You

0
Avatar
Permanently deleted user

I wonder why they made it disappear in the first place. But I am glad it is coming back in 2020.3

0

This was changed in a process of re-evaluating the VCS UI: some team members had their vision of this and they were monitoring what's working and what's not.

0

It's called “ide.allow.merge.buttons”

Thank you, Dmitry Tronin! That worked for me in WebStorm 2023.2.5

0

请先登录再写评论。