Skip to main content

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)

CommandLevel
lazygit --help
Show lazygit help
Basic
lazygit
Start lazygit TUI in terminal
Basic
lazygit -d
Use git repo in specified directory
Basic
lazygit --work-tree
Specify work tree directory
Intermediate
lazygit --git-dir
Specify .git directory
Intermediate
lazygit --config
Open config file directory
Intermediate
lazygit --debug
Start in debug mode
Expert
lazygit --use-config
Use specified config file
Intermediate
lazygit --version
Show version
Basic
git lazy
Can also invoke via git if aliased
Basic

FAQ

This cheatsheet is compiled from official tool documentation. Last updated: 2026-07-20.