Repos

Every task gets its own worktree, and Repos lists all of them, across every repo. gr opens it. On the left, every repo heed knows. On the right, cleanup is up top, then the repo you picked and its worktrees.

Repos: the repo column, cleanup, the picked repo's card, and its worktrees

The repo column is a filter. All worktrees shows every worktree, grouped by repo; a repo shows only its own, under a card with the repo's state and actions (see Repos). h moves to the column and l back to the table (⇥ switches); j k move within the side you are on, and a click picks a repo or a row.

All worktrees, grouped by repo

Each worktree row shows its branch with its path small below (and its host, when it is on one), the session working there with its agent and state, its changes (ahead, behind, uncommitted files), its pull request, and when you last touched it. A worktree with no session says so, and ↩ imports it right there.

Key
h l ⇥ The repo column, the worktree table, or the other one
j k Pick a repo in the column; move through the worktrees in the table
a Add or clone a repo
↩ Open the worktree's session, or import it when it has none
o Start work in the repo under the cursor
dd Remove the worktree (asks first)
v Select rows, then d remove, y copy paths, o open or import
M Set up get it merged and get it green for the repo
S The repo's detected setup: approve, edit or never
gR ⌘O The repo on GitHub; its folder in Finder
gC Clean up worktrees now (asks first)
r Refresh: rescan for repos
{ } Previous / next repo in the table
/ Filter by repo, branch, path or agent

A filter matches the part of a path below its root (the worktree root or a repo root from [worktrees], else your home folder), so code does not match every worktree under ~/code. What matched is marked in the branch and the path.

Repos filtered by fix: the matches marked in branch and path

  • Repos and their cards: add or clone a repo, and where heed finds repos.
  • Setup: what a new worktree gets before its agent starts.
  • Importing: bring worktrees made outside heed in as sessions.
  • Removing: remove a worktree by hand, and what heed never removes.
  • Cleanup: remove worktrees nobody has touched for a while.

Next: Diff.