← Toolstacks

Repo · GitMIT80.7k

lazygit

by Jesse Duffield · linked, not rehosted

Run git without memorizing a single command — a fast terminal UI for staging, committing and branching.

Add it to your project

Give your agent this prompt — it sets the repo up for you:

Prompt for your agent
Install lazygit on my machine (brew install lazygit or the right way for my OS) and give me a 5-line cheat sheet for staging hunks, committing, and switching branches inside it.
View on GitHub ↗

Open source (MIT) · all rights to Jesse Duffield.

What it's for & howRead it ↓

What it is

lazygit is a terminal UI for git. Instead of remembering flags, you press one key to stage a file, another to commit, another to switch branches — while seeing your diffs, log and stash side by side.

When to reach for it

  • Git on the command line slows you down or you keep googling commands.
  • You want to stage parts of a file (hunks) without a GUI app.
  • You review changes before committing and want it fast.

Set it up

brew install lazygit      # macOS
# or: apt install lazygit, choco install lazygit, go install ...

Run lazygit inside any repo. Space stages, c commits, P pushes. Give your agent the prompt above for a tailored cheat sheet.

← back to toolstacks

lazygit — repo pick · StackScout