{"version":"2.1.299","anchor":"resume-hint-now-includes-worktree-flags-and-advice","canonical_anchor":"resume-hint-now-includes-worktree-flags-and-advice","heading":"The resume command shown on exit now works for worktree sessions","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/resume-hint-now-includes-worktree-flags-and-advice","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### The resume command shown on exit now works for worktree sessions\n\nWhen you exit a session that ran in a worktree, Claude Code now prints a resume command that includes `--worktree`\n\n**What**\n\nWhen you leave a session, Claude Code prints a command you can copy to come back to it later. If the session ran in a worktree (a separate copy of your project folder), the command now includes the worktree, as `claude --worktree \"name\" --resume <id>`.\n\n- If the terminal is narrow, it uses the shorter flag form instead.\n\n- If neither fits, it prints plain `claude --resume`.\n\n- If the worktree's record has been cleared, it adds advice to run the command from that folder.\n\n**Why**\n\nYou get a command that actually returns you to a worktree session instead of one that misses it.\n\n- Area: Worktrees\n- Names: `--worktree`, `--resume`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}