Checkpoint commits are just a cloud-backed undo buffer.
#!/bin/sh tail -n +4 $0 | g++ -xc++ - && ./a.out return 0 2> /dev/null || exit