A collection of arcane, and perhaps at times the most inane of my thoughts.

Track deletions on git

git log is today's saviour. While working on some changes to tests, ended up dropping an entire case replacing it with other flows. Of course, it had to be the one touching the core of changes - if not, where's fun in things?

git log -c came in super handy since I remembered what the flow was thanks to some muscle memory of rewriting the flow over the last few days.

git log -c -S'missingtext' /path/to/file - gives the context of the commit where the specified text was deleted in the file being searched in.

One less moment to pull my hairs apart on days where there's no shortage.

August 2021 (3)July 2021 (1)June 2021 (1)May 2021 (4)April 2021 (6)March 2021 (6)February 2021 (1)November 2020 (11)