if I work on Windows 10 with PhpStorm 2018.1 EAP, then I use this script for AutoHotkey Version 1.1.28. to fix and click with just one shortcut (Ctrl + K).
~^k:: ; thats Ctrl+K
WinWaitActive,Commit Changes ahk_class SunAwtDialog,,3
Sleep,300
send,{CtrlDown}{Altdown}k{Ctrlup}{Altup} ; Ctrl+Alt+K that commits and pushes
WinWaitActive,Push Commits ahk_class SunAwtDialog,,3
Sleep,200
send,{Altdown}p{Altup} ; push
Msgbox,macro for git push in IntelliJ finished `n developed:SL5net, 23.03.2018 17:11`n (%A_LineFile%~%A_LineNumber%)
return
installer for autohotkey: https://autohotkey.com/download/
source
share