3 ms·
> The kicker for me was to realize that in git (mostly) everything is a reference to a commit id. Same here, and in fact this is almost verbatim how a friend a
by mstade 9y ago
> The kicker for me was to realize that in git (mostly) everything is a reference to a commit id.
Same here, and in fact this is almost verbatim how a friend and colleague explained it to me when I was first introduced to git some seven years ago. Once I got a grasp of that, it was almost like walking out of a dense fog. I learned to be very proficient – comfortable even – with git very quickly thanks in no small part to his mentorship. One of the first things he showed me after I royally screwed up a couple of weeks into the new job, was how to use the reflog. This is also when he explained the importance of the commit IDs to me, much like how you did above. I won't say I magically knew how to do anything in git from then on, but it certainly made understanding things a whole lot easier.