lazygit Cheatsheet
lazygit is a terminal Git UI (TUI) that lets you stop memorizing Git commands. Supports branch management, staging, committing, pushing, conflict resolution — all keyboard-driven.
Updated: 2026-07-20·10 commands
Quick Start
``bash
lazygit # Open TUI in current repo
lazygit -d ~/projects/my-app # Open a specific repo
``
Startup & Modes(10)
| Command | Level | ||
|---|---|---|---|
lazygit --helpShow lazygit help | Basic | lazygit --help | |
lazygitStart lazygit TUI in terminal | Basic | lazygit | |
lazygit -dUse git repo in specified directory | Basic | lazygit -d ~/projects/my-app | |
lazygit --work-treeSpecify work tree directory | Intermediate | lazygit --work-tree /var/www | |
lazygit --git-dirSpecify .git directory | Intermediate | lazygit --git-dir /backup/.git | |
lazygit --configOpen config file directory | Intermediate | lazygit --config | |
lazygit --debugStart in debug mode | Expert | lazygit --debug | |
lazygit --use-configUse specified config file | Intermediate | lazygit --use-config ~/.lazygit-custom.yml | |
lazygit --versionShow version | Basic | lazygit --version | |
git lazyCan also invoke via git if aliased | Basic | git lazy |
FAQ
This cheatsheet is compiled from official tool documentation. Last updated: 2026-07-20.