update-pull
Update pull content (title/body/refs)
Auth
Authenticated
Example
ghit-cli update-pull website 42 --title "Feature x (updated)" --body "Updated details"
# or replace the body from stdin explicitly
printf 'Updated details\n' | ghit-cli update-pull website 42 --title "Feature x (updated)" --body -
Expected Response
Updates the resource and prints the updated JSON object.
Body Behavior
Omitting --body leaves the existing pull body unchanged.
Use --body - to replace the body with stdin.
Errors
400 Bad Requestfor invalid flags/values.404 Not Foundwhen referenced owners/resources are missing.409 Conflictfor uniqueness or state conflicts.
Common auth errors are documented on the CLI overview page.
Help Output
Update pull content (title/body/refs)
Usage: ghit-cli update-pull [OPTIONS] <REPO> <NUMBER>
Arguments:
<REPO> Target repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
<NUMBER> Pull number in target repo
Options:
--source-ref <SOURCE_REF> Source ref
--target-ref <TARGET_REF> Target ref
--title <TITLE> Pull title
--body <BODY> Pull body. Pass '-' to read from stdin
-h, --help Print help