Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

rebase: merging indirectly via combined branch does not rebase higher prs

未關閉
#407 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
git, github, go
領域
cli

研究方向

未指定任何檔案、測試或進入點。重現 A/B/C 情境以及組合後的 D 情境,然後追蹤已合併 pull requests 和 stacked-branch rebases 的處理;當 D 合併後 B rebased 到 master,且 A 被刪除時不會自動關閉,修正即完成。

由索引模型根據 Issue 內容生成。

描述

bug topic: post-merge rebase

BUG:

We create release branches that combine many PRs/branches into a single PR. When that PR is merged to the root the original PRs are closed as merged, BUT any stacked PRs do not rebase onto the root.

Repro:

  1. Create three PRs A and B and C, with B stacked on A.
  2. Create a third PR, D, which combines branches A and C.
  3. Merge D onto master.
  4. Observe that B is still stacked on A, and if branch A is deleted, PR B is auto closed.
主要語言
Go
星號
1.5k
分支
73
平均合併
1 天 8 小時
30 天內合併 PR
7

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/gh-stack 的其他 Issue

查看 github/gh-stack 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。