Worktrees

gr opens Repos: every repo Heed knows, every worktree added to them, and the cleanup rules.

Repos: the repo column, the worktree table, and the cleanup rules

The table shows each worktree's repo, branch, the agent of the session working there, its status (upstream, ahead, behind, uncommitted changes) and its pull request.

Key
↩ 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
w Flip the repo between all issues and only yours (Issues)
r Refresh: rescan for repos
:repo.add <path> Add a repo outside the scanned folders; it is kept in repo_paths
:cleanup.rules Show the cleanup rules panel (it hides on narrow windows and with zi)
{ } Previous / next repo
/ Filter by repo, branch or agent
  • Repos: where repos come from, and their order and colours.
  • Importing: worktrees made outside Heed, and any path.
  • Removing: what is removed, and what never is.
  • Cleanup: removing idle worktrees automatically.