I kept finding myself running the same repetitive Git commands each time I merged a pull request: switching to main, pulling changes, and deleting the branch. It got tedious, so I decided to automate it.

I wrote a small shell script that handles it all for me: https://gist.github.com/domhhv/be466e084704c43db132c906eaabb06d
Post image

Comments