Title: `--adopt` is still recommended in the CLI docs · Issue #161 · github/gh-stack · GitHub
Open Graph Title: `--adopt` is still recommended in the CLI docs · Issue #161 · github/gh-stack
X Title: `--adopt` is still recommended in the CLI docs · Issue #161 · github/gh-stack
Description: gh-stack/cmd/root.go Lines 25 to 26 in 514f5ab # Or turn an existing set of branches into a stack $ gh stack init --adopt branch1 branch2 branch3 but using it results in a deprecation warning gh-stack/cmd/init.go Lines 119 to 124 in 514f...
Open Graph Description: gh-stack/cmd/root.go Lines 25 to 26 in 514f5ab # Or turn an existing set of branches into a stack $ gh stack init --adopt branch1 branch2 branch3 but using it results in a deprecation warning gh-st...
X Description: gh-stack/cmd/root.go Lines 25 to 26 in 514f5ab # Or turn an existing set of branches into a stack $ gh stack init --adopt branch1 branch2 branch3 but using it results in a deprecation warning gh-st...
Opengraph URL: https://github.com/github/gh-stack/issues/161
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`--adopt` is still recommended in the CLI docs","articleBody":"https://github.com/github/gh-stack/blob/514f5abf867a4141f6cbf8b774a8f86991daa6b0/cmd/root.go#L25-L26\n\nbut using it results in a deprecation warning\n\nhttps://github.com/github/gh-stack/blob/514f5abf867a4141f6cbf8b774a8f86991daa6b0/cmd/init.go#L119-L124\n\nlooks like you can literally just remove the `--adopt` flag from the CLI docs and it would work the same ","author":{"url":"https://github.com/DavisVaughan","@type":"Person","name":"DavisVaughan"},"datePublished":"2026-07-02T14:28:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/161/gh-stack/issues/161"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:27e2e839-c267-bea2-a943-dccc3471e9bc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B696:73E1D:6495B0:86E41F:6A504CE7 |
| html-safe-nonce | b5a8c716467531fea5f7235264c0fcee0da149e5f188802efbfc5b7353c4b1bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjk2OjczRTFEOjY0OTVCMDo4NkU0MUY6NkE1MDRDRTciLCJ2aXNpdG9yX2lkIjoiODIxOTkxODkwOTIxNTYyNDQyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6afe67429af78add207a0be6cba61dde3022ccb761708f6c53e4aa50656de2eb |
| hovercard-subject-tag | issue:4795375189 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/gh-stack/161/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42a0e5103d0f77f39365ea74fa25448329ffdd56a17217db7da17bcc714786a6/github/gh-stack/issues/161 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42a0e5103d0f77f39365ea74fa25448329ffdd56a17217db7da17bcc714786a6/github/gh-stack/issues/161 |
| og:image:alt | gh-stack/cmd/root.go Lines 25 to 26 in 514f5ab # Or turn an existing set of branches into a stack $ gh stack init --adopt branch1 branch2 branch3 but using it results in a deprecation warning gh-st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DavisVaughan |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/github/gh-stack git https://github.com/github/gh-stack.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151630728 |
| octolytics-dimension-repository_nwo | github/gh-stack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151630728 |
| octolytics-dimension-repository_network_root_nwo | github/gh-stack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5741a45fe07e5f377d0d4c524a92e3056acc51bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width