Title: gh pr create -w doesn't open new PR tab when branch had previous PR · Issue #320 · cli/cli · GitHub
Open Graph Title: gh pr create -w doesn't open new PR tab when branch had previous PR · Issue #320 · cli/cli
X Title: gh pr create -w doesn't open new PR tab when branch had previous PR · Issue #320 · cli/cli
Description: When using gh pr create to open a new PR with -w, the browser result is an existing PR, previously merged or closed. Reproduce: go to a branch without an open PR and commit some changes. Important caveat: The branch must have closed or m...
Open Graph Description: When using gh pr create to open a new PR with -w, the browser result is an existing PR, previously merged or closed. Reproduce: go to a branch without an open PR and commit some changes. Important ...
X Description: When using gh pr create to open a new PR with -w, the browser result is an existing PR, previously merged or closed. Reproduce: go to a branch without an open PR and commit some changes. Important ...
Opengraph URL: https://github.com/cli/cli/issues/320
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"gh pr create -w doesn't open new PR tab when branch had previous PR","articleBody":"When using `gh pr create` to open a new PR with `-w`, the browser result is an existing PR, previously merged or closed.\r\n\r\n**Reproduce**:\r\n- go to a branch without an open PR and commit some changes.\r\n - Important caveat: The branch must have closed or merged PR.\r\n- type `gh pr create -w`\r\n- browser opens old PR: https://github.com/tierninho/PRlist/pull/ccc\r\n\r\n**Expected result**:\r\nBrowser open the compare PR page: https://github.com/tierninho/PRlist/compare/ccc?expand=1\r\n\r\nWhen removing the `-w` flag, the results are inline with expectations as the expected result URL is shown. Alternatively, if a branch had no prior PRs, then the correct URL is opened.\r\n\r\n_gh version 0.5.4 (2020-02-04), OSX_","author":{"url":"https://github.com/tierninho","@type":"Person","name":"tierninho"},"datePublished":"2020-02-06T17:50:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/320/cli/issues/320"}
| 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:eb30c8f3-917b-0169-a724-3adfc43c2505 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9FE:2961BA:40E9C1:592986:6A5524EB |
| html-safe-nonce | d2fc39962d6765d70744824350ffe1731d78302257f9a551741edee15f84f3c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUZFOjI5NjFCQTo0MEU5QzE6NTkyOTg2OjZBNTUyNEVCIiwidmlzaXRvcl9pZCI6IjI2MzgyMTMxMDUzNTI3Nzg5ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f8c09026b6303fa739b2f089c555e1aa5926f8871f39ab4e3aa637796cbaa8c8 |
| hovercard-subject-tag | issue:561171432 |
| 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/cli/cli/320/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ccbf74d07a5cf483bbd1ce2031cbc92ec837de69fd5fb76439748b454c4e138a/cli/cli/issues/320 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ccbf74d07a5cf483bbd1ce2031cbc92ec837de69fd5fb76439748b454c4e138a/cli/cli/issues/320 |
| og:image:alt | When using gh pr create to open a new PR with -w, the browser result is an existing PR, previously merged or closed. Reproduce: go to a branch without an open PR and commit some changes. Important ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tierninho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/cli/cli git https://github.com/cli/cli.git |
| octolytics-dimension-user_id | 59704711 |
| octolytics-dimension-user_login | cli |
| octolytics-dimension-repository_id | 212613049 |
| octolytics-dimension-repository_nwo | cli/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 212613049 |
| octolytics-dimension-repository_network_root_nwo | cli/cli |
| 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 | 358dd24ad7465d20e3fae729b5b169d35b0dd7f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width