DEV Community 👩‍💻👨‍💻

Discussion on: How to undo the last commit

Collapse
 
reyz_mynick profile image
Roes W

If it's in feature branch I just do hard reset and force push. Revert commit is best solution to revert merge pull request in main/master branch.