Introducing reinstate-revert-revert

| | Comments (0)

This may be somewhere in 4D space, since it’s a bit of a corner case on a corner case, but I wrote a pre-commit hook plugin to handle a bit manual work required when dealing with git reverts.

Introducing: reinstate-revert-revert.

It automates the manual leg-work I would do when reverting a revert commit. Typically this is when I’m reinstating a merge commit that had to be reverted, usually as the first step toward fixing the bug that caused the initial revert in the first place.

This is definitely not something that comes up very often, but the amount of effor required was just annoying enough to make me want to automate it. It only took me, er, several years to sit down and do it. This was inspired by my most recent presentation of my two-part Git Fundamentals talk.

Hopefully it will save someone else a bit of time as well, and the savings can compound.

Leave a comment

About this Entry

This page contains a single entry by Erik Ogan published on June 21, 2020 8:39 AM.

Smoky Instant Pot Black Bean Soup was the previous entry in this blog.

Git Branch Name Completion in Zsh is the next entry in this blog.

Find recent entries on the main index or look in the archives to find all entries.

May 2021

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Powered by Movable Type 5.04