![Did I really just commit and push a file with a password in it?-Remove all traces of pushed Git commit | by Lucas Jellema | Medium Did I really just commit and push a file with a password in it?-Remove all traces of pushed Git commit | by Lucas Jellema | Medium](https://miro.medium.com/max/764/0*vxZ4kwCuveWMYmZW.png)
Did I really just commit and push a file with a password in it?-Remove all traces of pushed Git commit | by Lucas Jellema | 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)
How to revert to a previous commit when you've already pushed your changes | by Linh Nguyen My | Medium
![GIT:undo or revert the last push Github || Revert the commit which has been pushed to Git || 100% - YouTube GIT:undo or revert the last push Github || Revert the commit which has been pushed to Git || 100% - YouTube](https://i.ytimg.com/vi/9krLo3ONtA8/maxresdefault.jpg)
GIT:undo or revert the last push Github || Revert the commit which has been pushed to Git || 100% - YouTube
![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)