Skip to content

Keyboard Shortcuts

Master these shortcuts to fly through your Git workflow.

Viewing All Shortcuts

Press Ctrl+/ at any time to open the keyboard shortcuts panel within GitGUI.

File Operations

ShortcutAction
Ctrl+OOpen repository
Alt+OOpen recent repositories modal
Ctrl+RRefresh repository

Git Operations

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

Commit Prefixes

Quickly add conventional commit prefixes:

ShortcutPrefixUse For
Alt+1feat:New features
Alt+2fix:Bug fixes
Alt+3enh:Enhancements
Alt+4docs:Documentation

Press the shortcut to add the prefix. Press again to remove it.

ShortcutAction
Alt+CFocus commit message textarea
EscapeClose modal / diff viewer / details panel
ShortcutAction
Alt+FOpen File menu
Alt+VOpen View menu
Alt+WOpen Window menu
Alt+HOpen Help menu

View Controls

ShortcutAction
Ctrl+Shift+IToggle Developer Tools
Ctrl++Zoom in
Ctrl+-Zoom out
Ctrl+0Reset zoom
F11Toggle fullscreen

Help

ShortcutAction
Ctrl+/Show keyboard shortcuts panel

Workflow Examples

Quick Commit Flow

Ctrl+S      → Stage all files
Alt+1       → Add feat: prefix
Alt+C       → Focus message input
[type msg]  → Write your message
Ctrl+Enter  → Commit
Ctrl+P      → Push to remote

Voice Commit Flow

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

Repository Switching

Alt+O       → Open recent repos modal
[click]     → Select repository
            → Instantly switch

Customization

Currently, keyboard shortcuts are not customizable. We're considering adding this feature in a future update.

Platform Differences

macOS

Replace Ctrl with Cmd for most shortcuts:

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

Alt shortcuts remain the same on all platforms.

Linux

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

Tips for Learning Shortcuts

  1. Start with the essentials: Ctrl+S, Ctrl+Enter, Ctrl+P
  2. Add prefixes: Alt+1 through Alt+4
  3. Master navigation: Alt+O, Alt+C, Escape
  4. Use the cheat sheet: Ctrl+/ when you forget

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/modal             │
│   Ctrl+/      Show shortcuts                │
└─────────────────────────────────────────────┘

Next Steps

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