A project maintainer of an active open source project will learn new git magic tricks. Every maintainer also has their own procedure of reviewing and testing pull requests. To do this, a maintainer may have an incantation of git commands to set things up exactly the way they want.

But there is no easy, one-click way of doing this. Some commands must be run a specific order to pull a fresh local copy of a pull request. While reviewing several pull requests in a week, I realized a set of commands I was using frequently and converted them into these shell functions:

Continue reading