3 ms·
You're right from a technical perspective. What I meant that as an abstraction, it serves a double purpose (it represents both a node and an edge in the DAG, an
by meuk 8y ago
You're right from a technical perspective. What I meant that as an abstraction, it serves a double purpose (it represents both a node and an edge in the DAG, and it depends on the command that you use which interpretation is right).
If you checkout a commit, the commit represents the state of the repository. If you revert a commit, the commit represents a set of changes.