![Eddy Vinck on Twitter: "🚨 Oh no! You've pushed commits to the main branch on accident! 🚨 🚑 Here is how to fix it without breaking git history "git revert" will undo Eddy Vinck on Twitter: "🚨 Oh no! You've pushed commits to the main branch on accident! 🚨 🚑 Here is how to fix it without breaking git history "git revert" will undo](https://pbs.twimg.com/media/E3B8fISXEAESP-u.jpg)
Eddy Vinck on Twitter: "🚨 Oh no! You've pushed commits to the main branch on accident! 🚨 🚑 Here is how to fix it without breaking git history "git revert" will undo
![git reset soft: When to Use Git Reset, Git Revert & Git Checkout - DEV Community 👩‍💻👨‍💻 git reset soft: When to Use Git Reset, Git Revert & Git Checkout - DEV Community 👩‍💻👨‍💻](https://res.cloudinary.com/practicaldev/image/fetch/s--x1oDKltr--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://cl.ly/063v3m0l2X3b/Image%25202018-05-21%2520at%252010.56.45%2520AM.png)
git reset soft: When to Use Git Reset, Git Revert & Git Checkout - DEV Community 👩‍💻👨‍💻
![How to revert changes of particular commit from remote branch in git ? || git interview question - YouTube How to revert changes of particular commit from remote branch in git ? || git interview question - YouTube](https://i.ytimg.com/vi/NYXpN5GoWNk/maxresdefault.jpg)