Repository navigation
v1.41.0
This release introduces powerful OCI container execution for custom commands, custom worktree icons via the command palette, a new --main flag for listing worktrees, and significant improvements to PR branch tracking and worktree checkout logic.
🚀 Features
- OCI Container Support: Execute custom commands inside Docker or Podman containers directly from the TUI. Supports automatic worktree mounting to
/workspace, customargs,entrypointoverrides, interactive mode (-itflags), environment variable forwarding, and seamless integration withtmuxandzellij. - Custom Worktree Icons: Personalize and easily distinguish worktrees by setting custom icons using the command palette or the new
Ikeybinding. - Improved PR Worktree Creation: Streamlined PR worktree checkouts to consistently use the PR's head branch name locally. Enhanced upstream tracking to correctly configure remotes and merge refs, including robust support for forks across GitHub and GitLab.
- List Main Worktree: Added a
--main(-m) flag tolazyworktree listto filter and output only the primary worktree. Returns a single, clean object when combined with the--jsonflag. - Smarter Branch Name Suggestions: Branch name suggestions for new worktrees now intelligently generate a random name prefixed with the base branch (if branching off a non-default branch), providing more distinct and recognizable default names.
- Shell Integration: Added a new
worktree_go_mainzsh/shell helper function to quickly jump to the main repository directory.
🐛 Bug Fixes
- PR Pane Visibility: Reduced visual clutter by automatically hiding the Pull Request information section when on the main branch before a fetch completes, or when it is confirmed no PR exists for the branch.
🧹 Maintenance
- Documentation Overhaul: Updated the website theme with new typography, colors, and layout adjustments. Added comprehensive guides for Container Execution (including Anthropic API / Vertex AI backend examples) and updated the Worktree Notes guide with an LLM automation script example.
- Link Verification: Added a new verification step to the docs synchronization script to automatically detect and prevent broken local asset links within raw HTML tags.
- Gitignore: Added
.worktrees/to the ignore file to prevent tracking local git worktree metadata.