2 ms·
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].
by strogonoff 6y ago
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/src/storage/readObject.js https://github.com/isomorphic-git/isomorphic-git/blob/main/s...
- duffmancd 6y agoI 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/ https://wyag.thb.lt/