Title: simplify unstack to only target the active stack by skarim · Pull Request #74 · github/gh-stack · GitHub
Open Graph Title: simplify unstack to only target the active stack by skarim · Pull Request #74 · github/gh-stack
X Title: simplify unstack to only target the active stack by skarim · Pull Request #74 · github/gh-stack
Description: The unstack command previously accepted an optional [branch] positional argument to identify which stack to target. This was confusing because it wasn't clear that a branch name identifies a stack. This PR removes that argument so the command always targets the active stack — the one containing the currently checked-out branch. Motivation Using a branch name to specify a stack is unintuitive — users don't think of stacks by branch name The default behavior (unstack current branch) was already the most common usage pattern A future change will add the ability to specify a stack by number, which is a clearer mental model
Open Graph Description: The unstack command previously accepted an optional [branch] positional argument to identify which stack to target. This was confusing because it wasn't clear that a branch name identifies a st...
X Description: The unstack command previously accepted an optional [branch] positional argument to identify which stack to target. This was confusing because it wasn't clear that a branch name identifies ...
Opengraph URL: https://github.com/github/gh-stack/pull/74
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0970b240-0e89-da89-7fb7-0fd573209f0f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CB6:E21C4:6CE48ED:97CAC51:6A503013 |
| html-safe-nonce | 28d3be190683ae44c9a0d7af4893a928d3a240411daf1c1912539788cfcbbac5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0I2OkUyMUM0OjZDRTQ4RUQ6OTdDQUM1MTo2QTUwMzAxMyIsInZpc2l0b3JfaWQiOiI1ODk0NDAwNTgxODA0NTAzMDU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9a8cf2ad2ea4b1faf69a02ef7631b4bb43b38915d51cf6c5259f721e6bd51691 |
| hovercard-subject-tag | pull_request:3628088048 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/github/gh-stack/pull/74/files |
| twitter:image | https://avatars.githubusercontent.com/u/1701557?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1701557?s=400&v=4 |
| og:image:alt | The unstack command previously accepted an optional [branch] positional argument to identify which stack to target. This was confusing because it wasn't clear that a branch name identifies a st... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d90666eaf032b7eb8975a378efe38e37f4ebb96c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width