Skip to Content

worktree cleanup

Remove stale worktrees that are safe to delete.

Usage

worktree cleanup

Typical cleanup targets include:

  • worktrees whose remote branch no longer exists
  • local worktrees with no tracked remote and no pending work
Last updated on