5 ms·
If you're interested in a step-by-step guide on how to build your own git from scratch, this book is excellent and incredibly educational: https://shop.jcoglan.
by kanobo 6y ago
If you're interested in a step-by-step guide on how to build your own git from scratch, this book is excellent and incredibly educational: https://shop.jcoglan.com/building-git/ https://shop.jcoglan.com/building-git/
- NetOpWibby 6y agoFor the curious, this guide uses Ruby as the building language.
- jamesmunns 6y agoI've also seen a number of people following along in this book in other languages, including Rust. It really is a well written guide, even if you're not fluent in Ruby.
- pankajdoharey 6y agoTrust me its way easier than you think and there are tons of free resource available you dont need a $36 book to build git.
- stdbrouw 6y agoYou probably misunderstood: they're not talking about building from source (which is easy), but rather about recreating Git from scratch in another programming language (which is hard).
- pankajdoharey 6y agoNo I understood, and it is still easy. https://news.ycombinator.com/item?id=19386141 https://news.ycombinator.com/item?id=19386141 https://youtu.be/MYP56QJpDr4 https://youtu.be/MYP56QJpDr4
- kanobo 6y agoI didn't watch the video but I've gone through that guide you linked, it's excellent but I don't think it's a great comparison. It only implements a handful of commands and doesn't go into the same amount detail. The Building Git book goes way more into the interesting bits.
- pankajdoharey 6y agoMy whole point was it is way easier than one thinks and there are good free resources available. Once you do the basic of git filesystem , object storage and sha basics implementing the rest of the API is trivial in comparison.
- kanobo 6y agoIt's true that you can find most content somewhere freely available in various disparate corners of the web and everything is trivial if you have the info... but that's a strange reason to automatically reject a book you haven't read.
- viraptor 6y agoI noticed you haven't linked any of them.
- pankajdoharey 6y agoHere https://news.ycombinator.com/item?id=19386141 https://news.ycombinator.com/item?id=19386141 https://youtu.be/MYP56QJpDr4 https://youtu.be/MYP56QJpDr4