Ravi Sir's Cards › Chapter 70: DevOps Interview Questions by Topic and Company
How do you undo a commit already pushed to main?
How do you undo a commit already pushed to main? Use git revert. It adds a new commit that undoes the change, so nobody's history breaks.

Lesson: 70.2 Git Interview Questions for DevOps Engineers · मराठी card