DEV Community

Discussion on: How to Undo Pushed Commits with Git

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

If you're working with others, I'd recommend git push --force-with-lease to avoid accidentally deleting someones changes.