has anyone done this "write yourself a git" tutorial where you implement git in python? wyag.thb.lt
It looks cool and I'm curious about how long it takes to implement, and if people have found it a useful way to learn how git works
Conversation
Replying to
not this but I have been following along the Building Git book which is done in Ruby but I am doing it in Python
1
4
Replying to
I've not, though I've been meaning to get hold of James Coglan's "Building Git" (about his deep dive into git reimplementing it in Ruby along the way) for a few years now. Thanks for the link!
1
4
Replying to
Why write it in Python (well, “because Python” is good enuff😇) when git is Lisp and Lisp is git already?
1
Replying to
Not this one but I did a git client on custom sockets, it was more about the network protocol than the internal structure based on:
git-scm.com/docs/pack-prot
github.com/AmarOk1412/p2p
1
Replying to
That and Mary Rose Cook's gitlet.maryrosecook.com taught me a _lot_. I still can't use the most advanced features of Git without a lot of swearing, but that's me, not them :-)
10
Replying to
This is also a fantastic read for understanding how git works under the hood
1
9
Replying to
I haven't done this yet, but my git teaching is based on tom.preston-werner.com/2009/05/19/the, which follows the same idea (build your own git from scratch) to give people a good mental model for how git works.
2









