Re:Fortunately, I don't squash my commits
by teekert on Monday October 05, 2020 @08:31AM
(#24687107)
Like a tag? (I'm a git beginner so no sarcasm here, really I'm really interested in this stuff.)
[ Parent
| on HN ]
The problem is if multiple people make other changes after yours. You can certainly go back to your tag, but you lose all their changes as well.
If you revert one specific commit it just does another commit with the exact inverse of what happened in the reverted commit, so all other changes are preserved.