Show HN: A Git(1) implementation written in Python

github.com

2 points by xqb64 16 hours ago

This is a Python port of the git(1) clone that can be found in James Coglan's amazing book, "Building git".

I've definitely had a blast putting it together, and I also learned a lot, both about git and about Python.

I highly recommend the book if you're up for a challenge. I'd say it's in the same ballpark as "Crafting interpreters", "Writing a C compiler", and I imagine "Building a debugger" (still haven't gone through this one, but it does look promising if you're like me and love this sort of thing).

P.S.

I'm always on the lookout for similar "from scratch" books (and other types of resources, more generally), so please shoot if you're aware of any that I'm not.

Thanks