He's effectively writing a minimal git client in Python. "Fun" is a good reason for this sort or exploration, but it also has its practical uses. For instance, I use `isomorphic-git` (a git client written in JavaScript) to include a comment with the relevant commit hash in my bundled JavaScript. I can run it on any machine with Node, without opening a shell or trying to find where/if git is installed locally.
Alright I'm really curious on the use case of this. Is it for debugging assistance or anything else?
Re: Committing Without Git
#21They get deployed into a Colab cell or Google Drive. It's nice to be able to see what version is there without running anything.