lazygit is a terminal user interface for Git that makes staging, committing, and branching visual and keyboard-driven. Since it lives entirely in the terminal, its shortcuts are how you move through panels and perform every Git action.
Official:Official site
All lazygit keyboard shortcuts (Mac)
+ 4 more controls in the table below
+ 4 more controls in the table below
47 shortcuts
Navigation 15
| Action | Shortcut |
|---|---|
| Confirm / Select | ↵ |
| Return / Cancel | ⎋ |
| Next panel | ⇥ |
| Next item | J |
| Previous item | K |
| Next tab | ] |
| Previous tab | [ |
| Search current view | / |
| Next screen mode | + |
| Previous screen mode | _ |
| Filtering | ⌃S |
| Scroll up main window | K |
| Scroll down main window | J |
| Copy to clipboard | Y |
| Toggle range select | V |
Global 10
| Action | Shortcut |
|---|---|
| Push | P |
| Pull | P |
| Quit | Q |
| Open keybindings menu | ? |
| Undo | Z |
| Refresh git state | R |
| View merge/rebase options | M |
| Redo | Z |
| Switch to recent repo | ⌃R |
| View command log options | @ |
Files 7
| Action | Shortcut |
|---|---|
| Stage / unstage file | ␣ |
| Commit staged changes | C |
| Stage all files | A |
| Stash all changes | S |
| View discard options | D |
| Edit file in external editor | E |
| Ignore or exclude file | I |
Commits 7
| Action | Shortcut |
|---|---|
| Squash commit into one below | S |
| Reword commit message | R |
| Fixup commit | F |
| Drop commit | D |
| Amend commit with staged changes | A |
| Cherry-pick (copy) commit | C |
| Paste cherry-picked commits | V |
Branches 5
| Action | Shortcut |
|---|---|
| Create new branch | N |
| Checkout selected branch | ␣ |
| Merge into current branch | M |
| Rebase onto selected branch | R |
| Fast-forward from upstream | F |
Stash 3
| Action | Shortcut |
|---|---|
| Apply stash entry | ␣ |
| Pop stash entry | G |
| Drop stash entry | D |
Sourced from github.com, raw.githubusercontent.com Last verified
Unofficial reference. ShortcutPosters is not affiliated with, endorsed by, or sponsored by lazygit. All product names, logos, and trademarks are property of their respective owners. See our licensing & trademark notice.
Get the lazygit poster
4 art directions — pick one below, click to zoom & compare.
A printable, framed-quality poster of the essential lazygit shortcuts for Mac — the keys worth keeping in view, designed to stay readable on a wall.
Free PNG is web-resolution & watermarked.
Frequently asked questions
- Does the poster include every lazygit shortcut?
- lazygit has 47 keyboard shortcuts on macOS — the complete list is free to read on this page. The poster features the most essential ones, curated to stay readable on a wall.
- Can I print it at home?
- Yes. The digital download is a high-resolution 300 DPI file you can print at home or at any print shop, in standard frame sizes.
- Does it cover both Mac and Windows?
- We sell a separate edition per platform so every key matches your keyboard exactly. This page is the macOS edition.
- Is this an official lazygit product?
- No. This is an unofficial reference poster and is not affiliated with or endorsed by lazygit. All trademarks belong to their respective owners.
Thanks — your feedback helps us improve.
Promote your app
Built an app with great keyboard shortcuts? Get it into the database — a free, searchable reference page, and an optional printable poster your power users will pin to the wall.
- Free shortcut reference page
- Indexed & searchable
- Optional framed poster