Show last commit comment first:
git log –name-status HEAD^..HEAD
Then, remove the last commit and push:
git reset –hard HEAD~1
See also: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
Show last commit comment first:
git log –name-status HEAD^..HEAD
Then, remove the last commit and push:
git reset –hard HEAD~1
See also: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History