关于
Maintaining a series of dependent pull requests—often called stacked PRs or PR trains—can be complex once the initial base branch is merged. This skill provides a structured methodology for identifying unique commits in a PR stack and reapplying them onto updated branches. It ensures a clean git history by favoring cherry-picking over messy merge commits, handles branch naming variations like 'main' or 'master', and incorporates safety measures like force-with-lease to prevent data loss. It is particularly useful for developers who break large features into smaller, sequential PRs and need to keep their entire stack synchronized with the main repository.