Hacker News new | past | comments | ask | show | jobs | submit login

Nice walkthrough! I did not know about FETCH_HEAD.

Another (complementing) way of getting an idea how Git works is by reading the source of Isomorphic Git[0]. Being in JS and with fewer (as of now) features, it’s a bit more accessible than reference Git.

[0] E.g. https://github.com/isomorphic-git/isomorphic-git/blob/main/s...




I really enjoyed running through Write Yourself A Git[0], which guides you through implementing a basic Git replacement in python.

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




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: