Claude Code v2.1.206: /commit-push-pr honors configured push remote and worktree confirmation
Claude Code 2.1.206 makes /commit-push-pr auto-allow pushes to a repo's configured pushDefault remote, not just origin, and adds a /doctor check for trimming CLAUDE.md files.
What it is
A Claude Code CLI release with git-workflow and context-file improvements.
What it does
It extends /commit-push-pr's auto-allowed git push targets to remote.pushDefault or a repo's sole remote, adds directory suggestions to /cd matching /add-dir, introduces a /doctor check proposing trims to checked-in CLAUDE.md files, and requires confirmation before EnterWorktree opens a worktree outside the project's .claude/worktrees directory.
Why it matters
Repos that push to a non-origin remote get correct auto-push behavior instead of failing silently, and the CLAUDE.md trim check helps keep context files from bloating with redundant content.
How to use it
Update to 2.1.206 or later and run /doctor to see suggested CLAUDE.md trims.