René's URL Explorer Experiment


Title: Design: separate a stacked PR's merge target from its base · Issue #157 · github/gh-stack · GitHub

Open Graph Title: Design: separate a stacked PR's merge target from its base · Issue #157 · github/gh-stack

X Title: Design: separate a stacked PR's merge target from its base · Issue #157 · github/gh-stack

Description: From Overview / What Is a Stack?: A pull request stack consists of two or more pull requests in the same repository where: The first (bottom) pull request targets the main branch (e.g., main). Each subsequent pull request targets the bra...

Open Graph Description: From Overview / What Is a Stack?: A pull request stack consists of two or more pull requests in the same repository where: The first (bottom) pull request targets the main branch (e.g., main). Each...

X Description: From Overview / What Is a Stack?: A pull request stack consists of two or more pull requests in the same repository where: The first (bottom) pull request targets the main branch (e.g., main). Each...

Opengraph URL: https://github.com/github/gh-stack/issues/157

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design: separate a stacked PR's merge target from its base","articleBody":"From [Overview / What Is a Stack?](https://github.github.com/gh-stack/introduction/overview/#what-is-a-stack):\n\n\u003e A pull request stack consists of two or more pull requests in the same repository where:\n\u003e\n\u003e - The first (bottom) pull request targets the main branch (e.g., main).\n\u003e - Each subsequent pull request targets the branch of the PR below it.\n  ```\n     ┌── feat/frontend     → PR #3 (base: feat/api-endpoints)  ← top\n    ┌── feat/api-endpoints → PR #2 (base: feat/auth-layer)\n   ┌── feat/auth-layer     → PR #1 (base: main)               ← bottom\n  main (trunk)\n  ```\n\n[endquote]\n\n_Merging to the base branch is fundamentally wrong for this._ In your example here, `api-endpoints` is not logically *part of* `auth-layer`, so should not merge to it. You should separate \"base\" and \"target\" (e.g. `main`, `super-feature`, etc). Normally all branches in a stack will merge to the same target.\n\nYou already track \"target\" as distinct from base - your own [Overview](https://github.github.com/gh-stack/introduction/overview/#what-is-a-stack) states each PR is evaluated for rules and protections using \"its final target branch (e.g., `main`), not the branch it directly targets.\" So the concept exists; it's just confined to rule evaluation and discarded everywhere else. Promote it to a first-class merge destination.\n\nResult should be something like:\n\n```\n$ git log --all --graph --decorate --pretty=oneline --abbrev-commit\n*   043bf03 (HEAD -\u003e main) Merge pull request #2 from username/feat/2\n|\\\n| * 88624f8 (feat/2) Feature 2\n* | 39f3460 Merge pull request #1 from username/feat/1\n|\\|\n| * 0f1e961 (feat/1) Feature 1\n|/\n* 04a9dac Initial commit\n```\n\nRelated, I made the [same point to Git Butler](https://github.com/gitbutlerapp/gitbutler/issues/10936), but they're constrained by the existing GitHub implementation. But you are GitHub, now deciding the next implementation - not constrained.\n\nAlong with this, the implementation should display and enforce \"below\" branches in the stack as prerequisites. `feat/2` should be blocked from merging until `feat/1` has merged. You'll have to make this explicit, instead of just a side effect of merging to the base branches.","author":{"url":"https://github.com/bmcdonnell-fb","@type":"Person","name":"bmcdonnell-fb"},"datePublished":"2026-06-29T20:36:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/157/gh-stack/issues/157"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ede22632-ee21-76a2-c32d-c5d2b92ca687
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD8A8:20853D:67EB6B1:9151104:6A4FBAC8
html-safe-nonce3e6c53285a02bfe39e0d1481be658097aa618d8d06f3472ef83ba581ceefe88a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEE4OjIwODUzRDo2N0VCNkIxOjkxNTExMDQ6NkE0RkJBQzgiLCJ2aXNpdG9yX2lkIjoiMTE5MTczMzg3NjAwODkyNTg5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc7d8b1707d9e64b6af376e6eba97e5a2d7b64db403816e7e5fae2a637038bece
hovercard-subject-tagissue:4771414808
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/gh-stack/157/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d1d335450076382c9bfaa74db19a93e930bf4427512f10506f8ecf0a593f4859/github/gh-stack/issues/157
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d1d335450076382c9bfaa74db19a93e930bf4427512f10506f8ecf0a593f4859/github/gh-stack/issues/157
og:image:altFrom Overview / What Is a Stack?: A pull request stack consists of two or more pull requests in the same repository where: The first (bottom) pull request targets the main branch (e.g., main). Each...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebmcdonnell-fb
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/github/gh-stack git https://github.com/github/gh-stack.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id1151630728
octolytics-dimension-repository_nwogithub/gh-stack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1151630728
octolytics-dimension-repository_network_root_nwogithub/gh-stack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/gh-stack/issues/157#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgh-stack%2Fissues%2F157
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgh-stack%2Fissues%2F157
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fgh-stack
Reloadhttps://github.com/github/gh-stack/issues/157
Reloadhttps://github.com/github/gh-stack/issues/157
Reloadhttps://github.com/github/gh-stack/issues/157
Please reload this pagehttps://github.com/github/gh-stack/issues/157
github https://github.com/github
gh-stackhttps://github.com/github/gh-stack
Notifications https://github.com/login?return_to=%2Fgithub%2Fgh-stack
Fork 18 https://github.com/login?return_to=%2Fgithub%2Fgh-stack
Star 511 https://github.com/login?return_to=%2Fgithub%2Fgh-stack
Code https://github.com/github/gh-stack
Issues 23 https://github.com/github/gh-stack/issues
Pull requests 5 https://github.com/github/gh-stack/pulls
Discussions https://github.com/github/gh-stack/discussions
Actions https://github.com/github/gh-stack/actions
Projects https://github.com/github/gh-stack/projects
Models https://github.com/github/gh-stack/models
Security and quality 0 https://github.com/github/gh-stack/security
Insights https://github.com/github/gh-stack/pulse
Code https://github.com/github/gh-stack
Issues https://github.com/github/gh-stack/issues
Pull requests https://github.com/github/gh-stack/pulls
Discussions https://github.com/github/gh-stack/discussions
Actions https://github.com/github/gh-stack/actions
Projects https://github.com/github/gh-stack/projects
Models https://github.com/github/gh-stack/models
Security and quality https://github.com/github/gh-stack/security
Insights https://github.com/github/gh-stack/pulse
Design: separate a stacked PR's merge target from its basehttps://github.com/github/gh-stack/issues/157#top
https://github.com/bmcdonnell-fb
bmcdonnell-fbhttps://github.com/bmcdonnell-fb
on Jun 29, 2026https://github.com/github/gh-stack/issues/157#issue-4771414808
Overview / What Is a Stack?https://github.github.com/gh-stack/introduction/overview/#what-is-a-stack
Overviewhttps://github.github.com/gh-stack/introduction/overview/#what-is-a-stack
same point to Git Butlerhttps://github.com/gitbutlerapp/gitbutler/issues/10936
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.