DEV Community

Discussion on: How to Undo Pushed Commits with Git

Collapse
 
subhashsurana profile image
Subhash Surana

Excellent article. Recently, during an interview I was asked the difference between git revert & git reset and I did previously soft reset to revert the commit before even pushing the changes to remote repo. This would even work after we had pushed the changes. 🎉🎊🥳

Collapse
 
blackgirlbytes profile image
Rizèl Scarlett

Awesome! Glad that it's helpful to you!