osfeed.dev
Projects/jesseduffield / lazygit

lazygit

A terminal UI for git

by@jesseduffield·Runs on Linux · macOS · Windows
Get it on GitHub
Unclaimed

Written by @iluxav from the project's code and releases, not by its maintainers. Last updated for v0.66.3 (2026-11-07), so it may lag behind newer releases.

Are you @jesseduffield?Claim it, and your coding agent keeps it current with each release
v0.66.3 · 23 things you can do 84k stars 25 changes to know before upgrading

Stage single lines, rebase interactively, cherry-pick, bisect, resolve conflicts and undo mistakes in git with one key each, from a terminal window.

What you can do with lazygit

Squash, fixup, drop, reword and reorder commits with an interactive rebase driven by keys.

Present at v0.55.1
Share
Wrong?

Find the commit that introduced a bug with git bisect, marking commits good or bad.

Present at v0.55.1
Share
Wrong?

Undo and redo git actions using the reflog.

Present at v0.55.1
Good to know

Covers actions recorded in the reflog; not working-tree changes.

Share
Wrong?
Show all 23

Show diffs through another renderer such as delta, difftastic or `git diff --color-words`.

Present at v0.55.1
Share
Wrong?

Resolve all conflicts in chosen files as ours, theirs or both, or open the external merge tool.

Since v0.56.0
Share
Wrong?

Open a pull request or commit page on the repository's hosting service from lazygit.

Since v0.58.0
Share
Wrong?

See a GitHub pull request's status next to its branch and open it with one key.

Since v0.61.0
Good to know

GitHub only; needs the `gh` CLI logged in.

Share
Wrong?

Start and finish git flow features, releases and hotfixes, with legacy git-flow or git-flow-next.

Since v0.62.1
Good to know

Needs git-flow or git-flow-next installed.

Share
Wrong?

Push or pull the branches of a stack together from its topmost branch.

Since v0.66.0
Good to know

Push includes branches with upstreams; pull uses last-fetch data and skips other worktrees. Rewritten-upstream detection needs remote reflogs.

Share
Wrong?

Use different colors for dark and light terminal backgrounds.

Since v0.66.0
Good to know

Automatic detection falls back to dark when the terminal does not report its background; set `gui.colorScheme` explicitly if needed.

Share
Wrong?

Navigate, copy and open selected diff lines directly from the main view.

Since v0.66.0
Good to know

Interactive renderer output requires OSC 1717 support.

Share
Wrong?

Push or delete multiple selected Git tags in one operation.

Since v0.66.0
Good to know

Requires selecting tags in the tags view.

Share
Wrong?

Inspect and discard nested repositories or directories left behind by removed submodules.

Since v0.66.2
Good to know

Nested repositories and worktrees cannot be staged; add a repository as a submodule if it should be tracked. Worktrees must be removed individually.

Share
Wrong?

Before you upgrade lazygit

Newest first
v0.66.3

Lazygit ignores submodules whose names or paths lead outside the repository, including paths through symlinks. Submodule deletion refuses Git directories outside the current worktree's modules directory.

Behavior changedInferredAffects: Users of repositories with unsafe submodule names or paths in `.gitmodules`
Read the evidence
Share
Wrong?
v0.66.3

`.gitmodules` parsing recognizes section headers and keys only at the start of a line, so comments no longer create entries and `path=` inside a URL no longer overrides a submodule path.

Behavior changedInferredAffects: Users with commented-out submodule entries or submodule URLs containing `path=`
Read the evidence
Share
Wrong?
v0.66.2

The narrow selection bar appears on both edges of the focused diff. Actions report an error when selected diff lines or their file cannot be resolved, instead of silently doing nothing.

Behavior changedAffects: Users focusing diffs or acting on selected diff lines
Read the evidence
Share
Wrong?
Show 22 older
v0.66.0

Rename `gui.wrapLinesInStagingView` to `gui.wrapLinesInDiffView` and `gui.useHunkModeInStagingView` to `gui.useHunkModeInDiffView`. Writable configs migrate automatically; read-only configs must be updated before launch.

Action requiredInferredAffects: Configs containing either old staging-view option, especially read-only configs
Read the evidence
Share
Wrong?
v0.66.0

Replace `gui.branchColors` with `gui.theme.branchColorPatterns`, converting each prefix to an escaped `^prefix(/|$)` regex. If patterns already override it, remove `gui.branchColors`. Writable configs migrate automatically.

Action requiredInferredAffects: Configs using the deprecated `gui.branchColors`, especially read-only files
Read the evidence
Share
Wrong?
v0.66.0

Replace `staging` or `patchBuilding` contexts with `normal`, and their `Secondary` variants with `normalSecondary`; review bindings for the broader main view. Removed contexts now fail config validation.

Action requiredInferredAffects: Custom commands using `staging`, `stagingSecondary`, `patchBuilding` or `patchBuildingSecondary`
Read the evidence
Share
Wrong?
v0.66.0

For interactive staging in rendered output, update Delta or Diff-so-fancy to a version supporting OSC 1717. Difftastic needs the custom build linked in the release notes.

Action requiredAffects: Users wanting interactive diff selection with a custom renderer
Read the evidence
Share
Wrong?
v0.64.0

lazygit migrates these to `git.diffRenderers` and `cycleDiffRenderers` by rewriting the config file and stops with an error if it cannot write it; update a read-only config by hand.

Action requiredInferredAffects: Configs that set `git.paging`, `git.pagers` or the `cyclePagers` keybindings and live in a read-only file (for example managed by Nix or home-manager)
Read the evidence
Share
Wrong?
v0.62.1

Submitting from the description editor is now `ctrl-enter` (`cmd-enter` on Mac), which not every terminal supports; to keep the old key, set `keybinding.universal.confirmInEditor: [<alt+enter>, <ctrl+s>]`.

Action requiredAffects: Users who submit commits from the commit description editor with alt-enter
Read the evidence
Share
Wrong?
lazygit release history 14
v0.66.3

Remove a submodule in a linked worktree without breaking its counterpart in the main worktree.

Details

Submodule removal now uses the linked worktree's own Git directory. Lazygit filters unsafe entries in `.gitmodules` and recognizes section headers and keys only at the start of a line.

Also: Submodules with unsafe names or paths are ignored; commented-out submodule entries and URLs containing `path=` are parsed correctly.

Available in the v0.66.3 release; requires Git.

Now works: Create, switch and remove git worktrees.Behavior changed / inferredBehavior changed / inferred

Seeded by @iluxav with Codex

Read the evidence
v0.66.2
with v0.66.1

Inspect nested repositories and leftover submodule directories before discarding them.

Details

The files panel labels nested repositories, removed submodules and worktrees, shows their status, and warns before discarding history or uncommitted changes. Unwrapped focused diffs support `H` and `L` scrolling; staging and diff navigation regressions are fixed.

Also: Scroll unwrapped diffs sideways, stage with custom diff prefixes, and open branch files in the correct worktree. Source builds now require Go 1.26.

Available in v0.66.2, including v0.66.1 changes. Requires Git; building from source requires Go 1.26.0 or newer.

Added / inferred: Inspect and discard nested repositories or director…Now works / inferred: Stage or discard individual lines or hunks of a fil…Improved: Navigate, copy and open selected diff lines directl…Now works: Move or remove parts of a commit by building a cust…Behavior changedBehavior changedBehavior changed / inferredAction required / inferred

Seeded by @iluxav with Codex

Read the evidence
v0.66.0

Stage or unstage hunks and lines directly in the main diff view.

Details

The focused main diff replaces the staging and patch-building panels. Stack push/pull prompts, terminal-aware themes and detailed commit graphs accompany configuration migrations and validation changes.

Also: Synchronize stacked branches, adapt colors to dark or light terminals, and push or delete multiple tags.

Available in v0.66.0. Interactive custom-rendered diffs need OSC 1717 support; update Delta or Diff-so-fancy. Difftastic support requires the build linked in the release notes.

Behavior changed: Stage or discard individual lines or hunks of a fil…Behavior changed: Move or remove parts of a commit by building a cust…Action required / inferredAction required / inferredAction required / inferredAction required / inferred: Bind your own commands, with prompts and menus, to…Action required: Show diffs through another renderer such as delta,…Action required / inferredAdded: Push or pull the branches of a stack together from…Behavior changedBehavior changed: Create, switch and remove git worktrees.Added: Use different colors for dark and light terminal ba…Behavior changedBehavior changed: See the commit graph and compare any two commits.Added: Navigate, copy and open selected diff lines directl…Added: Push or delete multiple selected Git tags in one op…Behavior changed: Copy commits and paste them onto another branch.

Seeded by @iluxav with Codex

Read the evidence
v0.65.1

Use Escape without the long input delay affecting some terminals.

Details

Escape handling fixes a terminal input regression. The rebase editor child process no longer loads or migrates the user configuration.

Also: Rebasing a dotfiles repository no longer triggers config migration from the rebase editor child process.

Available in the v0.65.1 release.

Behavior changedNow works: Squash, fixup, drop, reword and reorder commits wit…

Seeded by @iluxav with Codex

Read the evidence
v0.65.0

Filter the keybindings and recent repos menus just by typing.

Details

Typing in the keybindings and recent repos menus filters them; worktrees can be filtered by branch name; the window looks inactive when unfocused. A custom command with an unknown `context` name is now rejected when the config loads.

v0.65.0.

Behavior changed: Bind your own commands, with prompts and menus, to…Improved: Create, switch and remove git worktrees.

Seeded by @iluxav with Claude Code

Read the evidence
v0.64.0

Reorder commits by dragging them with the mouse.

Details

Drag commits or rebase todos to move them, and drag to select a range. `git.pagers` is renamed `git.diffRenderers` with a `type` field (`stdinFilter`, `extDiff`, `rawGit`) and one `command` field; existing configs are rewritten automatically.

Also: The branches list shows a GitHub PR's combined checks state.

v0.64.0.

Improved: Squash, fixup, drop, reword and reorder commits wit…Improved: Show diffs through another renderer such as delta,…Action required / inferred: Show diffs through another renderer such as delta,…Improved: See a GitHub pull request's status next to its bran…

Seeded by @iluxav with Claude Code

Read the evidence
v0.63.0

Rearrange, hide or regroup lazygit's side panels.

Details

New `gui.sidePanels` option to reorder, hide and regroup panels and tabs, and `gui.shrinkSidePanelsToContent`. direnv environments load when switching repos or worktrees; external changes are picked up by polling; `<alt+shift+c>` edits the config file.

v0.63.0; direnv support works when direnv is installed.

Added: Reorder, hide and regroup the side panels and their…Improved: Create, switch and remove git worktrees.

Seeded by @iluxav with Claude Code

Read the evidence
v0.62.1

Use git-flow-next with lazygit's git flow menu.

Details

Keybindings accept any modifier combination (`<ctrl+alt+shift+x>`) and several keys each; the documented syntax is now `<ctrl+a>` (the older `<c-a>` still works). git-flow-next and GitHub Enterprise pull requests are supported. Groups v0.62.0 and v0.62.1.

Also: `<alt+up>`/`<alt+down>` move commits; the commit graph uses more widely supported symbols.

v0.62.1.

Added: Start and finish git flow features, releases and ho…Improved: See a GitHub pull request's status next to its bran…Improved: Bind your own commands, with prompts and menus, to…Action required: Squash, fixup, drop, reword and reorder commits wit…

Seeded by @iluxav with Claude Code

Read the evidence
v0.61.0

See which branches have a GitHub pull request, and whether it is open, closed or merged.

Details

With `gh` installed and logged in, branches with a pull request show a colored PR icon, and `shift-G` opens it. File trees now mix files and folders by default (`gui.fileTreeSortOrder: mixed`).

v0.61.0; the PR icons need `gh auth login`.

Added: See a GitHub pull request's status next to its bran…Behavior changed: Stage or discard individual lines or hunks of a fil…Improved: Bind your own commands, with prompts and menus, to…

Seeded by @iluxav with Claude Code

Read the evidence
v0.60.0

Filter the file lists by path as you type, and stage or diff only what the filter shows.

Details

Typing a filter in the files and commit files views now filters by full path instead of searching; staging, diffs and discards apply only to the visible files. Lines can be removed from a custom patch directly.

v0.60.0.

Behavior changed: Stage or discard individual lines or hunks of a fil…Improved: Move or remove parts of a commit by building a cust…Improved: Create, switch and remove git worktrees.

Seeded by @iluxav with Claude Code

Read the evidence
v0.58.0

Open pull requests for repositories hosted on Codeberg.

Details

Codeberg is a supported hosting service for opening pull requests and commits. The merge conflict menu's keep item is on `k` again. Custom command menu prompts take custom keybindings.

v0.58.0.

Added: Open a pull request or commit page on the repositor…Improved: Bind your own commands, with prompts and menus, to…

Seeded by @iluxav with Claude Code

Read the evidence
v0.57.0

Add a fork as a remote by typing just its owner's name.

Details

A command adds a fork remote by replacing the owner in the origin URL, and can check out a branch from it. Switching repos triggers a background fetch at once.

v0.57.0.

Added: Add a fork's remote by typing its owner, and check…

Seeded by @iluxav with Claude Code

Read the evidence
v0.56.0

Resolve every conflict in chosen files as ours, theirs or both from a merge menu, without an external tool.

Details

`M` on a conflicted file now opens a merge options menu (ours, theirs, union, or the external merge tool); a no-ff merge option; several pagers in `git.pagers`, cycled with `|`.

Also: Checkout of the previous branch gives clearer feedback; `gui.skipSwitchWorktreeOnCheckoutWarning`.

v0.56.0.

Added: Resolve all conflicts in chosen files as ours, thei…Improved: Show diffs through another renderer such as delta,…Behavior changed / inferred

Seeded by @iluxav with Claude Code

Read the evidence
v0.55.1
Starting point

Do the hard parts of git, from staging single lines to interactive rebase, with one key each in a terminal UI.

Details

Starting point: a terminal UI for git with panels for files, branches, commits and stash, run with `lazygit`.

Binary releases, Homebrew, most Linux package managers, or `go install`. Needs git.

Added: Stage or discard individual lines or hunks of a fil…Added: Squash, fixup, drop, reword and reorder commits wit…Added: Add staged changes to an older commit, not just the…Added: Copy commits and paste them onto another branch.Added: Find the commit that introduced a bug with git bise…Added: Move or remove parts of a commit by building a cust…Added: Undo and redo git actions using the reflog.Added: Create, switch and remove git worktrees.Added: Show only the commits that touch a path, or by an a…Added: See the commit graph and compare any two commits.Added: Bind your own commands, with prompts and menus, to…Added: Show diffs through another renderer such as delta,…

Seeded by @iluxav with Claude Code

Read the evidence

Share

LinkedIn takes the link and its card only; write your text there.

X LinkedIn Reddit Hacker News Bluesky