Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The best (known to me) informal intro into the architecture of Git is The Git Parable: http://tom.preston-werner.com/2009/05/19/the-git-parable.htm...


Also greatly worth reading: “Git from the Bottom Up”:

* HTML version: https://jwiegley.github.io/git-from-the-bottom-up/

* PDF version: http://ftp.newartisans.com/pub/git.from.bottom.up.pdf (via http://newartisans.com/2008/04/git-from-the-bottom-up/)

The great thing is that after reading and understanding these, one's mental model matches the reality of the Git program, so one can both try bolder things, and get unstuck from any mess.


I recommend this constantly, it is excellent.

Not to outright beginners, but anyone past that point should read this. It is a great job of clearly presenting an accurate mental model that helps you use git. If you are already a git expert this is just a good thing to learn from in general and with how to explain and teach git usage in particular.

The only documentation I know of that can turn people from cargo cult git users to people who just do the version control things they need done with the parts of git they need. That is damn useful.


I've always liked the low-level explanation at https://git-scm.com/book/en/v2/Git-Internals-Git-Objects

It's a great exercise for the reader to recreate the core functionality of making git commits with just a few command line utilities (echo, wc, xxd, shasum).


IIRC,that's how they were implemented in the first place.


[flagged]


> Ah, ha ha ha ha ha ha ha ha ha ha ha

Would you please not post like that here? It degrades discussion.

The rest of your comment is ok, though the reader would learn more if you explained what the problem actually is.




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

Search: