Script to help using github pull requests from the command line.
Pull requests are cloned to pr/upstream/pr_number/readable_pr_description
local
branches.
There is no mechanism for security.
# Get help
git pr -h
# List local pull requests branches
git pr
# Create and switch to pull request <pr_number>
git pr <githubremote> <pr_number>
Copy the script to your path and make it executable.
It will then be available both by git-pr
but also git pr
.