4 ms·
You may think of it that way, but it is actually storing a snapshot of the current state, with a pointer to the previous state. And that's what a commit is, it
by AndrewDucker 3y ago
You may think of it that way, but it is actually storing a snapshot of the current state, with a pointer to the previous state. And that's what a commit is, it's a snapshot.
- kelnos 3y agoI'm well aware of how it actually works, but I don't think git's implementation details are a useful mental model of source control in general.