Rebase Current Branch

Rebase the currently checked out feature branch onto the latest upstream default branch. Use when asked to update a branch with main or master, rebase the current branch onto the default branch, or sync a feature branch before review. Detects whether the repository uses main or master and guides safe conflict handling.

GitHub (Microsoft) Updated 41.2k repo stars
Picture from the README

File contents

github/awesome-copilot commit 9542c5c03c

Frequently asked questions

npx get-skill add github/rebase-current-branch