Use Claude Code in VS Code changedvs-code
Nearest release: v2.1.240, published 3 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+1added
Lines−11removed
From line
433
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits63to this page, all time
### Use git worktrees for parallel tasks
The whole hunk
from line 433, old and new numbered
/
from line 433
433433
434434## Work with git
435435
436Claude Code integrates with git to help with version control workflows directly in VS Code. Ask Claude to commit changes, create pull requests, or work across branches.
436Claude Code integrates with git to help with version control workflows directly in VS Code. Ask Claude to commit changes, create pull requests, or work across branches. To start Claude in an isolated worktree with its own files and branch, see [Run parallel sessions with worktrees](/docs/en/worktrees).
437437
438438### Create commits and pull requests
439439
from line 446
446446```
447447
448448When creating pull requests, Claude generates descriptions based on the actual code changes and can add context about testing or implementation decisions.
449
450### Use git worktrees for parallel tasks
451
452Use the `--worktree` (`-w`) flag to start Claude in an isolated worktree with its own files and branch:
453
454```bash theme={null}
455claude --worktree feature-auth
456```
457
458Each worktree maintains independent file state while sharing git history. This prevents Claude instances from interfering with each other when working on different tasks. For more details, see [Run parallel sessions with Git worktrees](/docs/en/worktrees).
459449
460450## Use third-party providers
461451
No line in this hunk matches that.