Hacker News new | ask | show | jobs
by leobakerhytch 2003 days ago
You might like to try Write yourself a Git [0] (discussed here previously [1]). YMMV, but I find the best way to learn something deeply is to get hands on. Less of a chance of convincing yourself you understand something that you really don’t.

For less of a time commitment, Git from the inside out [2] is a really nice explanation of the internals, from initializing a repo and the files that creates in the .git directory, all the way to pulling from and pushing to remotes.

[0]: https://wyag.thb.lt/

[1]: https://news.ycombinator.com/item?id=19386141

[2]: https://maryrosecook.com/blog/post/git-from-the-inside-out

1 comments

Wow, thank you so much for pointing this out!

I know from (my albeit limited development) experience that I definitely retain concepts I’ve encountered via a hands-on approach better, but I hadn’t made the leap to _this_ sort of hands-on approach! I’d just resigned myself to the long slog of trying to get a commit merged into the master branch haha.

Once again, thank you! I’m going to check out both of those resources!