Interactively create a pull request.
You can install pr by running the install script which will download the latest release.
curl -LSfs https://go.mskelton.dev/pr/install | sh
Or you can build from source.
git clone git@github.com:mskelton/pr.git
cd pr
go install .
To parse and format a Linear or Jira ticket from your branch name, add a
PR_TICKET_PREFIXES
environment variable to your shell with a list of supported
prefixes.
export PR_TICKET_PREFIXES="ABC,SUPPORT"
You can also specify prefixes to strip out of your PR names. This is useful if you include your username as a prefix in your branches.
export PR_STRIP_PREFIXES='username/'
pr