TIL from @commaok.xyz: git plumbing to
synthesize a commit equivalent to resetting to main and cherry-picking a single commit c.
git commit-tree -p main \
$(git merge-tree --write-tree --merge-base c^ main c)
c^ as "merge-base" "subtracts" the delta b/w main and c^.
philz.dev/blog/git-vir...