Keyborad shortcut for checking out git branches in IDEA?

IntelliJ IDEA 11 has this nice current branch indicator on the right of the bottom bar. When I click on it, I can see another branches, and I can checkout, compare etc.

The problem is I have to click. Is there some way to assign keyboard shortcut to this action?

1
1 comment

You may also invoke this list of branches via the menu
Version Control -> Git -> Branches
or context menu: Git -> Branches.

Therefore you can assign any shortcut to this action (Settings -> Keymap).

When the list of branches is showing, you also don't need to click. Just begin typing the name of the branch you need - and the list will be automatically filtered.

6

Please sign in to leave a comment.