Search code examples
gitintellij-ideaphpstormrubyminepycharm

What is the keyboard shortcut for 'Commit' in the 'commit changes' dialogue in RubyMine (and PHPStorm, IntellijIDEA, PyCharm etc)?


After choosing git --> commit changes, I have a dialogue as below with 'Commit' in the bottom right. It seems to have the 'i' underlined, however I can't work out what the shortcut for it is as none of the usual combinations e.g. Command-I, Command-Alt-I work. Any ideas?

enter image description here


Solution

  • Mnemonics usually work via the Alt key, so it would be Alt+I.

    Note that Enter confirms the dialog choice and if the focus is in the text area, it would be Ctrl+Enter.

    Alt+I mnemonic will also not work when you are entering the commit comment, so you should use Ctrl+Enter.