talira

simple terminal UI for git commands

open sourceMITself-hostablefree

lazygit is a terminal UI for git that makes common but fiddly operations quick: staging individual hunks or lines, interactive rebase with single keys, cherry-picking, worktrees, custom patches, and undo. It is written in Go and configurable with custom commands.

Ways to install

Problems it solves

  • staging only some lines of a file with git add -p is painful
  • interactive rebase in a text editor TODO file is error-prone
  • want to squash, reorder and fixup commits with a couple of keystrokes
  • git command line is powerful but everything takes too many commands
  • need a visual git client that runs inside the terminal over SSH
  • cherry-pick commits between branches without copying hashes
  • undo my last git mistake easily
  • see branches, log, diff and staged files on one screen
  • resolve merge conflicts more visually without leaving the terminal

Features

  • line and hunk staging
  • interactive rebase
  • cherry-pick
  • worktrees
  • custom patches
  • undo/redo
  • custom commands

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what lazygit does.

  1. git-absorb git commit --fixup, but automatic
  2. forgit Utility tool for using git interactively, powered by fzf
  3. PwrGit Git for people working alongside an agent
  4. GitUI Blazing fast terminal-ui for git written in rust
  5. GitButler Version control for your agents
  6. Tig Text-mode interface for Git

Compare lazygit with the top 3