I can\'t see how to email a contributor on github after lengthy attempts, and google searches. Why does every beginners guide encourage us to immediately configure our user.emai
Here is some command to get author and email of the last commit:
git show --format="%aN <%aE>" COMMIT_ID
Here the version for older git versions (<= 1.6)
git log -1 --pretty=format:"%an <%ae>"
You can use
git log
or
git show [commit number]
Output:
commit 5f3be67saki52cv80l0e4f55c05ec897de3sdgt67
Author: someone <someone@mail.com>
Date: Wed Mar 23 17:10:48 2017 +0100
Commit message