Michal Kordas Michal Kordas - 14 days ago 9
Git Question

Shortcut to "New Branch" popup in IntelliJ

I'd like to setup keyboard shortcut to create new Git branch in IntelliJ IDEA.

I've tried assigning shortcut to the following action:

enter image description here

However, at least in IDEA 2016.3, this action doesn't perform anything when invoked.

How can I setup shortcut to just open this popup?

enter image description here

Answer

I just tried this in 2016.3 as well, did not work for me either (on OSX) so probably a bug in the git integration plugin. Something to search for in YouTrack. Created bug IDEA-164512.

However, an alternative is to setup a shortcut for the parent popup Branches... , that does work, followed by Enter :

enter image description here

So in the absence of the one-fell-swoop shortcut for new branches, a workaround would look as follows:

enter image description here