AIToday
AI Coding AssistantsGitHub Blog (AI)Published: Oct 20, 2026, 04:00 JST

GitHub Copilot sessions now open in VS Code, worktree intact

GitHub Copilot sessions now open in VS Code, worktree intact

3 Key Points

  1. What happened

    GitHub's tutorial shows a session opened via "Open in VS Code", loading the same worktree and the session in the Copilot sidebar, so task, plan and conversation carry over.

  2. Why it matters

    Developers avoid re-describing the task in a new chat or copying files between directories, and a push from that branch updates the pull request already tracking the work.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The tutorial is framed around a common handoff point: the agent has finished the bulk of a change, and the developer wants to inspect one implementation detail, adjust a few lines by hand, and run the project locally. GitHub's answer is to keep the original session rather than reconstruct it in a new editor window.

Mechanically, selecting Open in VS Code opens the project using the worktree associated with the session and shows the existing session in the Copilot sidebar. That keeps three pieces connected: the session context (task, plan and conversation), the diff ready for review, and the same isolated working tree. Because the conversation is preserved, a prompt such as asking Copilot to add a test for "the updated label" still has the context to interpret it.

The rest of the walkthrough is deliberately ordinary engineering hygiene: review the diff in the Source Control view, check conventions and edge cases, run commands like npm test and npm run lint in the integrated terminal, and verify UI states at different viewport sizes. GitHub's stated division of labor is that Copilot takes on larger or repetitive implementation while the developer moves into the editor for review, targeted edits, local testing and final polish.

FAQ
Do I need to summarize the task again when I move to VS Code?
No. The session's task, plan and conversation stay available, so you can keep prompting Copilot in the sidebar without restating the task from the beginning.
How do my local edits and commits reach the pull request?
VS Code opens the worktree and branch associated with the session, so committing and pushing from that branch updates the pull request already tracking that work.
What should I check when reviewing the agent's changes?
GitHub suggests confirming the code solves the requested problem, follows repository conventions, handles error states and edge cases, has tests for the changed behavior, and touches no unrelated files.
GitHub Blog (AI)Read Original Article

Also reported by GitHub Copilot Blog

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleMeta's Muse agents face web blocks as sites reject AI visitors