Skip to content

Worktrees (wt)

Mod by SentioLabs

Opens a dialog to open, create or remove a repo's git worktrees with ⌘⇧G.

Git, diffs & code review1 starsupdated 7 days agoadds shortcuts
Screenshot of Worktrees (wt)

What it does

A 560px dialog lists the repo's branches, each with its worktree path when it has one, and tags for open spaces, uncommitted changes and last commit age. Type to filter, press Enter to open or create a worktree, and tick linear worktrees to remove several at once.

It runs worktrunk (wt) through the Herdr exec command, so worktrunk's path template and hooks apply, including on other machines. Removing a worktree closes its space first.

⌘⇧G opens one dialog for a repo's git worktrees: open one, make one from any local or remote branch, or check several and remove them. It drives worktrunk (wt), so worktrunk's path template and hooks apply. It works the same in spaces on other machines. This is a piece you add to your current layout, not a whole window.

From the author's RECIPE.md

Good for

Where it appears

Works with

Needs

gitworktrunk (wt)

Similar mods

Same job, overlapping tags and integrations.

All of Git, diffs & code review

Herdr Git Mods

by JeHwanYoo

Adds a full-height Git client pane with changes, commit graph, files and stash actions.

Git, diffs & code reviewKeyboard shortcuts3yesterday

Gitr

by jbped

Opens a popup listing a repo's branches and worktrees to go to, create, check out or clean up.

Git, diffs & code reviewKeyboard shortcuts5today

Git Diff

by stefanoginella

Shows a branch, commit or working-tree diff beside the terminal, with viewed marks and hunk staging.

Git, diffs & code review125today

Git Panel

by stefanoginella

Shows a repo's commit graph with staging, commits, branch actions and pushes in a right panel.

Git, diffs & code review125today

Git Enhanced

by chaofanma

Shows changes with per-file, hunk and line staging, commit and amend, and a commit graph with menus.

Git, diffs & code reviewKeyboard shortcuts018 days ago

Redline

by iampedii

Opens GitLab merge requests or GitHub pull requests in a panel to review, comment and merge.

Git, diffs & code reviewKeyboard shortcuts404 days ago

Smart Git

by XicuM

Shows lazygit inside the sidebar with a commit box, file, branch and commit lists.

Git, diffs & code review247 days ago

Branch

by CodeyPacker

Lists a space's Git branches in a searchable dialog and switches, creates, syncs and stashes them.

Git, diffs & code reviewKeyboard shortcuts17today