![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
![In Git how do you revert a commit that has already been pushed and made public ? || git revert - YouTube In Git how do you revert a commit that has already been pushed and made public ? || git revert - YouTube](https://i.ytimg.com/vi/TpsuXFStGJQ/mqdefault.jpg)
In Git how do you revert a commit that has already been pushed and made public ? || git revert - YouTube
![What is git commit, push, pull, log, aliases, fetch, config & clone | by Amit Prajapati | MindOrks | Medium What is git commit, push, pull, log, aliases, fetch, config & clone | by Amit Prajapati | MindOrks | Medium](https://miro.medium.com/max/1400/1*9r32wkIqAxFaw1rxGr6yRA.jpeg)
What is git commit, push, pull, log, aliases, fetch, config & clone | by Amit Prajapati | MindOrks | Medium
![How to revert to a previous commit when you've already pushed your changes | by Linh Nguyen My | Medium How to revert to a previous commit when you've already pushed your changes | by Linh Nguyen My | Medium](https://miro.medium.com/max/538/1*zI4RxqU_J1MGQy_ZtzpQSA.png)