Either copy the aliases from the .gitconfig
or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4
- creates local branchpr/4
from the githubupstream
(if it exists) ororigin
remote and mergesmain
into itgit pr 4 someremote
- creates local branchpr/4
fromsomeremote
remote and checks it outgit pr-merge
- merges the currently checked out PR intomain
git pr-clean
- removes all pr/* branches from your local repo
github has a refs/pull/*/merge also that you could probs just fetch - not sure if you looked into that.