Quantcast
Viewing latest article 44
Browse Latest Browse All 80

Answer by Vatsal Ajmera for How do I delete a commit from a branch?

last Commit from you want to revert

git reset --hard <commit-hash>

then execute git push force to push you changes with your remote branch.

git push origin <branch-name> --force

Viewing latest article 44
Browse Latest Browse All 80

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>