Down for Maintenance from December 09, 2025 Tuesday 9:30pm PST to December 10, 2025 Wednesday 3:30am PST (i.e., 05:30am -11:30am GMT, December 10, 2025 Wednesday)
- Loading...
git-pr set sets properties of a pull request such as title, body, draft state, etc.
$ git pr set -h
usage: git-pr [options] [<ID>]
-u, --username NAME Username on host
-r, --remote NAME Name of remote, defaults to 'origin'
--assignees LIST Comma separated list of assignees
--title MESSAGE The title of the pull request
--open Set the pull request's state to open
--closed Set the pull request's state to closed
--body Set the body of the pull request
--no-draft Mark the pull request as not draft
--verbose Turn on verbose output
--debug Turn on debugging output
--version Print the version of this tool
-h, --help Show this help text
Set the title of a pull request with id 756 to "8123456: This is a bugfix":
$ git pr set --title='8123456: This is a bugfix' 756
Assign the pull request with id 756 to edvbld:
$ git pr set --assignees=edvbld 756
Close the pull request with id 756:
$ git pr set --closed 756
Re-open the pull request with id 756:
$ git pr set --open 756
Move the pull request with 756 from draft state to a ready for review state:
$ git pr set --no-draft 756
None.
See GitPrSet.java.