EN
git revert last commit
7
points
Quick solution:
git reset --soft HEAD~1
Very often after rever of last commit we need to push branch with force to override remote changes. To do that we use below command:
git push force