git addprx 42
Adds pull request 42 as branch "pr/42" and rebases the changes against the current branch. What this means is that even if the pull request (of a bugfix was against master) it will now be rebased against the current branch (which could be the maintenance branch).
It also prints out a diffstat and all the commits with their new hashes at the end.
Thank you! I couldn't get mine to work with
[aliases]
so I switched to[alias]
. Thank you again! Huge time saver.