git get the last commit code example
Example 1: github show files changed git log
git log --name-only
Example 2: how do i get the last commit
$ git reset --soft HEAD~1
Example 3: revert git commit
git revert <the_commit_hash>
git log --name-only
$ git reset --soft HEAD~1
git revert <the_commit_hash>