Skip to content

Autowt cleanup

autowt cleanup

Remove worktrees or clean up merged/remoteless ones

autowt cleanup [worktrees...] [flags]

Options

      --dry-run       Show what would be removed without actually removing
      --force         Force remove worktrees with modified files
  -h, --help          help for cleanup
      --mode string   Cleanup mode (all, remoteless, merged, interactive, github)

Options inherited from parent commands

      --debug   Enable debug logging
  -y, --yes     Automatically confirm all prompts

SEE ALSO

  • autowt - Git worktree manager