3 ms·
The question was "what do you think is the most natural way to think about it", not "how does git represent it".
by Espressosaurus 3y ago
The question was "what do you think is the most natural way to think about it", not "how does git represent it".
- lakpan 3y agoWhat? If you’re looking for “the most natural” then you’ll find it in the name. You can’t “explain” branch by using a synonym. Plus that definition describes both tags and branches, how do you tell them apart? It’s clearly lacking. Actually that definition fits commits too. I’d rather use these: Branch: a pointer that advances Tag: a permanent pointer Commit/hash: an even more permanent pointer (because even a force can’t change it) that also describes the changes.