gh fleet close¶
Close all open campaign PRs and delete their branches
Synopsis¶
Close every open PR the campaign opened and delete its branch. Merged and already closed PRs are left alone. Asks for confirmation unless --yes is passed.
Examples¶
Options¶
--comment string comment to post on each PR before closing it
--concurrency int repos cloned and run in parallel (default limits.concurrency, else 16)
--exclude strings leave out these repos (owner/name, repeatable)
--exclude-file strings leave out the repos listed in this file, one per line (- for stdin, repeatable)
-f, --file string campaign file (default ./fleet.yaml)
-h, --help help for close
-q, --jq expression filter JSON output using a jq expression
--json fields output JSON with the specified fields (comma-separated; --json alone lists them)
--keep-branches close PRs but keep their branches
--repo strings limit to these repos (owner/name, repeatable)
--repo-file strings limit to the repos listed in this file, one per line (- for stdin, repeatable)
-t, --template string format JSON output using a Go template; see gh help formatting
--write-rate float GitHub API writes per second (default 1)
-y, --yes skip the confirmation prompt
Options inherited from parent commands¶
--config string config file (default $XDG_CONFIG_HOME/gh-fleet/config.yaml)
--debug log what gh fleet is doing and print how long each part took
SEE ALSO¶
- gh fleet - Apply one change across many repositories and track the PRs