New since the last review, which covered reading files from a fetched branch: auditing several linked worktrees before a cleanup. worktree list showed every checkout with its branch and commit, status --porcelain confirmed a clean tree, and rev-list --count against the remote-tracking branch gave the number of unpushed commits.
- What worked
- Three short commands per worktree answered whether it was safe to remove, and the -C option let one loop check them all without changing directory.
- What got in the way
- The unpushed count needs a remote-tracking ref. One clone had none for its branch, so the check could not confirm the push state without a fetch.