Skip to content

Keyboard Shortcuts

Every action in GitGUI has a keyboard shortcut for maximum productivity.

Quick Reference

Press Ctrl+/ anytime to see all shortcuts in GitGUI.

File Operations

ShortcutAction
Ctrl+OOpen repository
Alt+ORecent repositories
Ctrl+RRefresh

Git Operations

ShortcutAction
Ctrl+SStage all unstaged files
Ctrl+EnterCommit (in message input)
Ctrl+PPush to remote
Ctrl+Shift+PPull from remote
Alt+MToggle voice input

Commit Prefixes

ShortcutPrefix
Alt+1feat:
Alt+2fix:
Alt+3enh:
Alt+4docs:
ShortcutAction
Alt+CFocus commit message
EscapeClose modal/panel

View Controls

ShortcutAction
Ctrl++Zoom in
Ctrl+-Zoom out
Ctrl+0Reset zoom
F11Toggle fullscreen
Ctrl+Shift+IDeveloper tools
ShortcutMenu
Alt+FFile
Alt+VView
Alt+WWindow
Alt+HHelp

Help

ShortcutAction
Ctrl+/Show shortcuts panel

Common Workflows

Quick Commit

Ctrl+S       Stage all
Alt+1        Add feat: prefix
[type]       Write message
Ctrl+Enter   Commit
Ctrl+P       Push

Voice Commit

Ctrl+S       Stage all
Alt+2        Add fix: prefix
Alt+M        Start recording
[speak]      Dictate message
Alt+M        Stop recording
Ctrl+Enter   Commit

Switch Repos

Alt+O        Open recent repos
[click]      Select repo

Platform Notes

macOS

Replace Ctrl with Cmd:

  • Cmd+O — Open
  • Cmd+S — Stage all
  • Cmd+P — Push

Alt shortcuts stay the same.

Linux

All shortcuts work as documented. Some desktop environments may intercept certain combinations.

Printable Cheat Sheet

╔═══════════════════════════════════════════╗
║         GITGUI KEYBOARD SHORTCUTS         ║
╠═══════════════════════════════════════════╣
║ FILES                                     ║
║   Ctrl+O ........ Open repository         ║
║   Alt+O ......... Recent repositories     ║
║   Ctrl+R ........ Refresh                 ║
╠═══════════════════════════════════════════╣
║ GIT                                       ║
║   Ctrl+S ........ Stage all               ║
║   Ctrl+Enter .... Commit                  ║
║   Ctrl+P ........ Push                    ║
║   Ctrl+Shift+P .. Pull                    ║
╠═══════════════════════════════════════════╣
║ PREFIXES                                  ║
║   Alt+1 ......... feat:                   ║
║   Alt+2 ......... fix:                    ║
║   Alt+3 ......... enh:                    ║
║   Alt+4 ......... docs:                   ║
╠═══════════════════════════════════════════╣
║ OTHER                                     ║
║   Alt+C ......... Focus commit message    ║
║   Alt+M ......... Voice input             ║
║   Escape ........ Close panel             ║
║   Ctrl+/ ........ Show shortcuts          ║
╚═══════════════════════════════════════════╝

Built for developers who love Git but hate complexity. Terms · Privacy