Merging And Deleting Branches Automatically

Feb 28, 2014

If there is one thing I do a lot of in Git, it’s merging branches and then deleting them. I have this thing for merged branches laying around. It drives me nuts. I like to keep my repo as clean as I can.

So, I created a small shell script that I can call and pass a branch name to that merges the branch and then deletes the branch in one step.

If you want to use it, place it in your path and make it executable.

If you would like to be notified the next time I write something, you can subscribe with your choice of RSS or Email.

I promise not to spam you and you can unsubscribe at anytime.

Also, here are some other items you might like longer longer:

or go see everything in the archive.