![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 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 ๐ฉโ๐ป๐จโ๐ป
![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)