Re:Fortunately, I don't squash my commits
by Aeolun on Monday October 05, 2020 @08:41AM
(#24687185)
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.
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.