Skip to main content
Run any Skill in Manus
with one click

gh-upstream-release

Stars5
Forks2
UpdatedJuly 10, 2026 at 06:24

Fork 模式下,把当前分支领先 upstream/master 的多个 commit 压缩成一个, 推送到 `upstream` 远端,再 `gh pr create` + `--squash` 合并到主分支的端到端 SOP。 触发场景:用户说"压缩领先 commit 再发版"、"squash 后推到 upstream 然后 PR"、 "用 gh 推到 upstream master"、"把当前分支发版"、"open PR against upstream"、 明确给出 squash + push + gh pr create 序列时。 适用前提:本地有 `origin`(自己的 fork)和 `upstream`(canonical 仓库)两个 remote; 当前分支相对 `upstream/master` 已有 N 个领先 commit(N ≥ 1)。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly