osfeed.dev
Release /

lazygit v0.66.0

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

Before you upgrade to v0.66.0

6 to fix

Build custom patches directly in a commit's main diff; the separate patch-building panel is gone.

Behavior changedMove or remove parts of a commit by building a custom patch from it.
Read the evidence

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 requiredAffects: Configs containing either old staging-view option, especially read-only configsInferred
Read the evidence

Move `gui.authorColors` and `gui.branchColorPatterns` under `gui.theme`. Writable configs migrate automatically; update read-only configs before launch.

Action requiredAffects: Configs with author colors or branch color patterns at their old pathsInferred
Read the evidence

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 requiredAffects: Configs using the deprecated `gui.branchColors`, especially read-only filesInferred
Read the evidence

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 requiredBind your own commands, with prompts and menus, to keys.Affects: Custom commands using `staging`, `stagingSecondary`, `patchBuilding` or `patchBuildingSecondary`Inferred
Read the evidence

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 requiredShow diffs through another renderer such as delta, difftastic or `git diff --color-words`.Affects: Users wanting interactive diff selection with a custom renderer
Read the evidence

Stacked branches stay in stack order when committer dates tie. Divergence caused only by a rewritten upstream is shown in dim yellow.

Behavior changedAffects: Users viewing branch stacks or rewritten upstream branches
Read the evidence

`git.autoForwardBranches` can now advance branches checked out in another worktree, unless it has tracked-file changes or is rebasing or bisecting.

Behavior changedCreate, switch and remove git worktrees.
Read the evidence

Selected text is bold by default; selection backgrounds adapt to the terminal background. Set `gui.theme.selectedLineFgColor: [default]` to keep selected text unbolded.

Behavior changedAffects: Users of the default selection colors and text styling
Read the evidence

`gui.commitGraphStyle: auto` selects detailed branch-drawing symbols in kitty and Ghostty, and classic rendering elsewhere; other compatible terminals or fonts can opt into `detailed`.

Behavior changedSee the commit graph and compare any two commits.
Read the evidence

What changed in v0.66.0

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.

New things you can do

`P` offers to push the stack; `p` offers to update lower branches. `f` can reset branches whose upstream was rewritten, including a range selection.

AddedPush or pull the branches of a stack together from its topmost branch.
Read the evidence

Use `ctrl-g` or diffstat links to jump to a file, and `e` or alt/shift-click to edit a line; selections can be copied and opened in the branch's pull request.

AddedNavigate, copy and open selected diff lines directly from the main view.
Read the evidence

Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.

Share

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

X LinkedIn Reddit Hacker News Bluesky