Dev tool 'gx' demonstrates reversible git commits on real repo in under 6 seconds
A development tool called gx was tested against the public repository left-pad at a specific commit to verify its ability to make and fully undo changes across two storage backends. On the git substrate, the tool moved HEAD to a new commit without altering the actual file bytes on disk, then restored the original HEAD cleanly. On the filesystem substrate, the tool rewrote the file directly and restored its exact original SHA-256 hash. All four stages — break, prove, restore, and verify — passed across three independent runs, each using a fresh clone and signing key. The worst total runtime recorded across all runs was approximately 6 seconds, with a median of 5.76 seconds.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in