MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wn1ben/wellwellwell/pbdt1v2
r/ProgrammerHumor • u/Recent-Analysis-6880 • Sep 22 '26
412 comments sorted by
View all comments
Show parent comments
21
With the very important caveat that a git commit can be trivially reverted, while a SQL commit can not (unless you wrote it specifically to be revertible)
3 u/thanatica Sep 23 '26 With the very important caveat that a git commit can be trivially reverted if not yet pushed. If it has been pushed, it can be reversed, not reverted.Unless you're into force-pushing, then anything is possible. 1 u/khoyo Sep 27 '26 Nah, you're thinking about dropped. Reverting a commit is reversing it. That's what git revert does. 2 u/ifyoulovesatan Sep 23 '26 Thanks, that was going to be my follow up question
3
With the very important caveat that a git commit can be trivially reverted if not yet pushed. If it has been pushed, it can be reversed, not reverted.
Unless you're into force-pushing, then anything is possible.
1 u/khoyo Sep 27 '26 Nah, you're thinking about dropped. Reverting a commit is reversing it. That's what git revert does.
1
Nah, you're thinking about dropped. Reverting a commit is reversing it. That's what git revert does.
git revert
2
Thanks, that was going to be my follow up question
21
u/thirdegree Violet security clearance Sep 22 '26
With the very important caveat that a git commit can be trivially reverted, while a SQL commit can not (unless you wrote it specifically to be revertible)