...
Code Block |
---|
$ git pr -h git-pr is used for interacting with pull requests from a command line. The following sub-commands are available: - apply -- apply a pull request Usage: git pr apply [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' --no-token Do not use a personal access token (PAT) --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - approve -- approve a pull request Usage: git pr approve [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' -m, --message TEXT Message to author as part of approval (e.g. "Looks good!") --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - checkoutcc -- checkoutadd one aor pullmore requestlabels Usage: git pr checkout [<ID>]cc <ARG>... Flags: -u, --usernameverbose NAME UsernameTurn on hostverbose output -r, --remotedebug NAME NameTurn ofon remote,debugging defaultsoutput to 'origin' -b, --branchversion NAME Print the Createversion aof new branched named NAME this tool - checkout -- checkout a pull request Usage: git pr checkout [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' -b, --branch NAME Create a new branched named NAME --no-token Do not use a personal access token (PAT) --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - close -- close a pull request Usage: git pr close [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - contributor -- add or remove contributors Usage: git pr contributor [<ID>] Flags: --add USERNAME Consider pull request contributed to by this user --remove USERNAME Do not consider pull request contributed to by this user --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - create -- create a pull request Usage: git pr create [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' -b, --branch NAME Name of target branch, defaults to 'master' --cc MAILING LISTS Mailing lists to CC for inital RFR e-mail --backport REV Create a backport pull request for the given revision --ignore-workspace Ignore local changes in worktree and staging area when creating pull request --ignore-local-commits Ignore local commits not pushed when creating pull request --publish Publish the local branch before creating the pull request --jcheck Run jcheck before creating the pull request --draft Create a pull request in draft state --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - csr -- require CSR for the pull request Usage: git pr csr [<ID>] Flags: --no-tokenneeded This pull request needs an approved CSR before integration Do--unneeded not useThis apull personalrequest accessdoes tokennot (PAT)need an approved CSR before integration --verbose --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - closefetch -- closefetch a pull request Usage: git pr closefetch [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' --no-token Do not use a personal access token (PAT) --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - createinfo -- createshow status of a pull request Usage: git pr createinfo [<ID>] Flags: -u, --username NAME NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' -b, --branch NAME --no-decoration Hide any decorations when listing PRs Name of target branch, defaults to 'master' --cc MAILING LISTS --no-token Do Mailingnot listsuse toa CCpersonal foraccess inital RFR e-mailtoken (PAT) --ignore-workspacechecks Ignore local changes inShow worktreeinformation andabout stagingchecks area when creating pull request --author --ignore-local-commits Ignore local commitsShow notthe pushedauthor whenof creatingthe pull request --publishtitle Show Publish the localtitle branchof before creating the pull request --jcheck assignees RunShow jcheckthe beforeassignees creatingof the pull request --draftreviewers Show the reviewers of the pull request Create a pull request in--contributors draft state Show the additional contributors to the pull --verboserequest --issues Turn on verbose outputShow the issues associated with the pull request --debug --commits Show the Turncommits onin debuggingpull outputrequest --versionbranch Show the target branch for the pull Printrequest the version of this tool - fetch --url fetch a pull request Usage: git pr fetch [<ID>]Show the url Flags:for the pull request -u, --username NAME Username on host--status -r, --remote NAME Show Namethe ofstatus remote,for defaultsthe topull 'origin'request --no-tokenlabels Do notShow usethe alabels personalfor accessthe tokenpull (PAT)request --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - infointegrate -- showintegrate status of a pull request Usage: git pr infointegrate [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' --no-decorationatomic Integrate the pull request atomically Hide any--verbose decorations when listing PRs Turn on verbose output --no-token --debug Do not use a personal access token (PAT) Turn on debugging output --checks --version Show information about checksPrint the version of this tool - issue --author add, remove or create issues Usage: Show the author of the pull requestgit pr issue [<ID>] Flags: --add ID --title ShowConsider theissue titlesolved ofby thethis pull request --assigneesremove ID Show the assignees of the pullDo requestnot consider issue as solved by this pull request --reviewers Show the reviewers of the pull request --priority 1|2|3|4|5 Priority for issue --contributorscomponent NAME Show the additional contributorsComponent tofor theissue pull request --create --issues Show theCreate issuesan associatedissue withfor thethis pull request --commitsverbose Show the commits inTurn pullon requestverbose output --branchdebug Show the target branch for theTurn pullon requestdebugging output --urlversion ShowPrint the version of urlthis fortool the pull- requestlist -- list open pull requests Usage: --statusgit pr list [<ID>] Flags: Show the status for the pull request-u, --username NAME --labels Show the labels for the pull request Username on host -r, --verboseremote NAME Turn on verbose output --debug Turn on debugging outputName of remote, defaults to 'origin' --version --authors LIST Print the version of this tool - integrate -- integrate a pull request Usage: git pr integrate [<ID>] Flags: Comma -u, --username NAME Username on hostseparated list of authors -r, --remoteassignees LIST NAME Name of remote, defaults to 'origin' --atomic IntegrateComma theseparated pulllist requestof atomicallyassignees --verboselabels LIST Turn on verbose output --debug Comma Turnseparated onlist debuggingof outputlabels --versionissues LIST Print the version of this tool - list -- list open pull requests Usage: git pr list [<ID>] Flags: Comma -u, --username NAMEseparated list of issues --columns id,title,author,assignees,labels Comma separated list of columns to show --no-decoration Username on host -r, --remote NAME Hide any decorations when listing PRs Name of remote, defaults to 'origin'--no-draft --authors LIST Hide all pull requests in draft state Comma separated list of authors --no-token --assignees LIST Do not use Commaa separatedpersonal listaccess oftoken assignees(PAT) --labelsverbose LIST Comma separatedTurn liston ofverbose labelsoutput --issuesdebug LIST Comma separated list of issues Turn on debugging --columns id,title,author,assignees,labels Comma separated list of columns to showoutput --version --no-decoration Print the version of this tool - Hidereviewer any-- decorationsadd whenor listingremove PRsreviewers Usage: git pr reviewer [<ID>] --no-draft Flags: --add USERNAME Consider pull request reviewed by this user --remove USERNAME Do not Hideconsider all pull requestsrequest inreviewed draftby statethis user --no-tokenverbose Turn on verbose output --debug Turn on debugging output Do not use a personal access token (PAT)--version --verbosePrint the version of this tool - set -- set properties of a pull request Usage: git pr set [<ID>] Flags: -u, --username NAME TurnUsername on verbosehost output -r, --remote NAME --debug Name of remote, defaults to 'origin' --assignees LIST Comma separated list of assignees --title MESSAGE The title Turnof onthe debuggingpull outputrequest --versionopen Set the pull request's state to open --closed PrintSet the versionpull ofrequest's thisstate toolto closed - set -- set properties of a pull request--body Usage: git pr set [<ID>] Flags: Set the body -u, --username NAME Username on hostof the pull request -r, -no-remote NAMEdraft Name of remote, defaultsMark tothe 'origin'pull request as not draft --assignees LIST Comma separated--verbose list of assignees Turn on verbose --titleoutput MESSAGE The title of the pull request--debug --open Turn on debugging output Set the pull request's state to open--version Print the version of --closedthis tool - show -- show a pull request Set the pull request's state to closedUsage: git pr show [<ID>] Flags: -u, --bodyusername NAME Username on host -r, --remote NAME Set the bodyName of the pull requestremote, defaults to 'origin' --no-drafttoken Do Marknot theuse pulla requestpersonal asaccess nottoken draft(PAT) --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - showsponsor -- showsponsor a pull request Usage: git pr showsponsor [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' --no-token Do not use a personal access token (PAT) --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - sponsor -- sponsor a- summary -- add a summary to the commit message for the pull request Usage: git pr sponsorsummary [<ID>] Flags: -u, --username NAME Username on host -r, --remoteremove NAME Remove Namean ofexisting remote,summary defaults to 'origin' --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool - test -- test a pull request Usage: git pr test [<ID>] Flags: -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' -j, --job NAME Name of a job --approve Approve a test request --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool |
...
Overview
Content Tools
ThemeBuilder