Skip to content

Remove --remote flag from gh repo fork call - #358

Open
suhailskhan wants to merge 1 commit into
harens:masterfrom
suhailskhan:suhailskhan/fix/gh-cli-fork-remote-flag
Open

Remove --remote flag from gh repo fork call#358
suhailskhan wants to merge 1 commit into
harens:masterfrom
suhailskhan:suhailskhan/fix/gh-cli-fork-remote-flag

Conversation

@suhailskhan

Copy link
Copy Markdown

Fixes #357

gh ≥ v2.88.0 rejects --remote when a repository argument is provided,
breaking `seaport pr` entirely. The flag was already redundant because
--clone=true causes gh to add the upstream remote automatically.

Fixes harens#357
@suhailskhan
suhailskhan force-pushed the suhailskhan/fix/gh-cli-fork-remote-flag branch from 8b8d0ef to 4a2d828 Compare April 11, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

seaport pr completely broken with current gh CLI: --remote flag rejected when repo argument is provided

1 participant