The author recounts a day at work where a smooth jujutsu-like scenario inspires a git case study. While working on a legacy codebase and introducing a new parsing component, a hidden case where a method directly calls the parser is discovered. A new test is needed to address this outlier. The author navigates seamlessly through git commands to incorporate the new test before the desired commit. The unique aspect highlighted is the importance of context-switching in git development, along with the stability of identity provided by git commit IDs and jj change IDs. The process illuminates the meticulous and strategic nature of git maneuvering for developers.
https://lottia.net/notes/0013-git-jujutsu-miniature.html