GitHub Blog
Read post

Stacked sessions and pull requests in the GitHub Copilot app

A GitHub developer advocate shares her experience using the GitHub Copilot app to modernize a decade-old personal codebase (React 15, Less, react-bootstrap). The post walks through using stacked sessions — a feature where each Copilot session builds on the previous one — to break a large modernization task into manageable pull requests. Key highlights include switching branches mid-session when a conflict was discovered, using Plan mode to decide whether to replace react-bootstrap entirely, and leveraging stacked sessions to create chained pull requests that each target the branch below them. The result was a clean, incremental migration without the usual chaos of large-scope refactors.

    #react#github#ai-coding
Jul 30•8m read time•From github.blog
Post cover image
Table of contents
First step: Could I one-shot this?Second step: Realizing I had tried this beforeThird step: Findings after testingFourth step: Stacking a session on top of the otherFifth step: Sailing off into the sunset with stacked pull requestsTags:Written by
3.9K Impressions
GitHub Blog's image
GitHub Blog

The GitHub Blog provides updates, announcements, and insights from the world's leading software deve...

1.4K Followers

•

3K Upvotes

cassidoo's user avatar
Cassidy Williams
@cassidoo
Joined Dec 7. 2025
2.1K

making memes and dreams and software

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard