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
List all files committed in a branch:
git diff –name-only master…branchname
Or to list changes:
git log –oneline –name-only master..branchname | sort | uniq