News for hackers. Stuff that matters.
Re:How HEAD works in Git by hnfong on Friday March 08, 2024 @11:24PM (#39649356)
I felt I fully understood git after I realized it was just a data structure.

The data structure isn't even complicated (there are commits, and then there are directories and files associated with the commits), and once I understood the tooling (i.e. git commands) in terms of how it manipulated the data structures, I was basically able to do whatever I intended to on the repo.

Re:How HEAD works in Git by nerdponx on Saturday March 09, 2024 @10:20AM (#39652147)
I mostly agree, but once you understand it, a new frustration emerges: "why can't I just do X on this graph?"