hub-pr(1) | hub manual | hub-pr(1) |
hub-pr - Manage GitHub Pull Requests for the current repository.
hub pr list [-s STATE] [-h HEAD] [-b
BASE] [-o SORT_KEY [-^]] [-f FORMAT] [-L
LIMIT]
hub pr checkout PR-NUMBER [BRANCH]
hub pr show [-uc] [-f FORMAT] [-h HEAD]
hub pr show [-uc] [-f FORMAT] PR-NUMBER
list
checkout
To update the pull request with new commits, use git push.
show
-s, --state STATE
-h, --head BRANCH
-b, --base BRANCH
-f, --format FORMAT
%I: pull request number
%i: pull request number prefixed with "#"
%U: the URL of this pull request
%S: state ("open" or "closed")
%pS: pull request state ("open", "draft", "merged", or "closed")
%sC: set color to red or green, depending on state
%pC: set color according to pull request state
%t: title
%l: colored labels
%L: raw, comma-separated labels
%b: body
%B: base branch
%sB: base commit SHA
%H: head branch
%sH: head commit SHA
%sm: merge commit SHA
%au: login name of author
%as: comma-separated list of assignees
%rs: comma-separated list of requested reviewers
%Mn: milestone number
%Mt: milestone title
%cD: created date-only (no time of day)
%cr: created date, relative
%ct: created date, UNIX timestamp
%cI: created date, ISO 8601 format
%uD: updated date-only (no time of day)
%ur: updated date, relative
%ut: updated date, UNIX timestamp
%uI: updated date, ISO 8601 format
%mD: merged date-only (no time of day)
%mr: merged date, relative
%mt: merged date, UNIX timestamp
%mI: merged date, ISO 8601 format
%n: newline
%%: a literal %
--color[=WHEN]
-o, --sort KEY
-^, --sort-ascending
-L, --limit LIMIT
-u, --url
-c, --copy
18 Jul 2021 | hub version 2.14.2 |