git-pr is the top-level command for interacting with pull requests on a source code hosting platform like GitLab or GitHub. The top-level command git-pr doesn't do anything by itself, instead it delegates all functionality to multiple sub-commands. The available sub-commands to git-pr are:
For more information about a sub-command, see its own wiki page.
All sub-commands takes an optional pull request id as their first argument. The pull request is optional because if you create a pull request with
git pr create then
git-pr remembers the local branch you created the pull request from. This means you don't have to specify the id for subsequent operations such as
git pr set or
git pr integrate.
There is no configuration for the top-level git-pr command, but many of the sub-commands can be configured. See each sub-command's wiki page for more information on how configure a particular sub-command.
Please see GitPr.java.