get-pull

Get a pull by target repo and number

Auth

Authenticated

Example

ghit-cli get-pull website 42

Expected Response

Prints a single JSON object from the API.

Errors

  • 404 Not Found when the referenced resource does not exist.
  • 403 Forbidden when owner/repo access checks fail.

Common auth errors are documented on the CLI overview page.

Help Output

Get a pull by target repo and number

Usage: ghit-cli get-pull <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:
  -h, --help  Print help