git-pr create creates a pull request on a source code hosting site like GitLab or GitHub. The source branch for the pull request will be the currently checked out local branch.
git-pr create will for safety measures verify that there are no local changes in the worktree and that all commits to on currently checked out have been pushed to the remote repository for the personal fork (both these checks can be turned off).
git-pr create can automatically publish the currently checked out local branch when run with the flag
--publish. git-pr create can automatically run jcheck on the commits that will be part of the pull request before creating the pull request with the flag
--jcheck. If the flag
--draft is supplied then the created pull request will be a draft pull request. To manually select the mailing lists that should be CC:d for the initial "RFR" e-mail, use the
git-pr create always ends by printing the URL to the newly created pull request on standard output.
Create a pull request:
Create a pull request, but first automatically publish the branch and run jcheck on the commits:
All flags to git-pr create can be configured to have default values. For example, to always run jcheck on the commits before creating a pull request, run: