Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: A Git(1) implementation written in Python (github.com/xqb64)
4 points by xqb64 9 months ago | hide | past | favorite
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



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: