Loading market data...

GitHub Copilot Adds Stacked Sessions and Pull Requests for Smoother Code Workflows

GitHub Copilot Adds Stacked Sessions and Pull Requests for Smoother Code Workflows

GitHub Copilot, the AI-powered coding assistant, now supports stacked sessions and pull requests. The update aims to help developers manage multiple code changes at once without losing context or breaking their workflow.

What Stacked Sessions Do

Stacked sessions let a developer work on several related edits in parallel. Instead of finishing one change before starting another, the tool keeps each modification in its own layer. That means a programmer can jump between tasks — fixing a bug, adding a feature, tweaking a comment — and Copilot remembers where each one left off. The sessions stack on top of each other, so the final code merges cleanly.

Pull Requests Get a Boost

The feature also extends to pull requests. When a developer opens a PR, Copilot can now suggest changes that build on the stacked sessions. This reduces the back-and-forth between writing code and reviewing it. The company says the goal is to make collaboration less fragmented. Instead of submitting a PR, getting feedback, then rewriting, the stacked approach lets the AI propose updates that fit the existing stack.

For teams working on the same codebase, the update could cut down on merge conflicts. Stacked sessions keep changes isolated until they're ready to combine. Developers can also share their session stacks with colleagues, so reviewers see the full context of a change — not just the final diff. That transparency might speed up code reviews and reduce misunderstandings.

The feature is rolling out now to all GitHub Copilot users. No additional configuration is required. The company hasn't said whether it will eventually support non-GitHub repositories or other version control systems.