Manage Git With lazygit
Stage, commit, branch and rebase from a full-screen terminal UI.
Run lazygit inside a repository to open the Git panel UI.
01Command
Command
$ lazygit02What it does
lazygit wraps everyday Git operations in panels for files, branches, commits and stashes. You can stage individual hunks, write a commit, resolve conflicts and rebase with single keys, which reduces typos in long Git commands.
03Risk
!Warning: The UI can run destructive operations such as hard reset; confirm which branch and commit are selected before pressing the key.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Homebrew formula: lazygitEvidence: Installs lazygit, a terminal UI for git.
- jesseduffield/lazygitEvidence: Documents panels, key bindings and configuration.
Last verified: 2026-09-20 · Category: Developer
06Related solutions
Change where screenshots are saved on Mac
Point macOS screen captures at any folder you choose instead of the desktop.
Download a file from a URL on Mac with curl
Grab any file from the web straight into the current folder — no browser needed.
Find files larger than 500 MB on Mac
List the biggest files in your home folder that are eating disk space.