4 ms·
For God's sake, DON'T TEACH IF YOU DON'T UNDERSTAND YOURSELF what's happening. "Commit C's revision number has changed." - NO IT DID NOT. The original commit (
by Walkman 9y ago
For God's sake, DON'T TEACH IF YOU DON'T UNDERSTAND YOURSELF what's happening.
"Commit C's revision number has changed." - NO IT DID NOT. The original commit (f4ba6b) is still there, it still points to B, but a totally new commit has been created with a different content. To avoid confusion, it's better to name it C'. C is now a dangling commit (has no branch or tag pointing to it, and will eventually be garbage collected).