I would like to check for author\'s e-mail and name, surname to verify who\'s pushing to my repo.
Is there any way that I can come up with a command in git to show c
You can use the following command:
git log --format='%ae' HASH^!
It works with git show as well. You need to include -s to suppress the diff.
git show
-s
git show -s --format='%ae' HASH