Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see contributor's email address on Git commit chain?

Tags:

git

github

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.email such that it is sent with every commit if its so difficult to view the contributors' email addresses on the commit chain in GitHub?

like image 791
sphere Avatar asked Mar 22 '17 16:03

sphere


People also ask

Does GitHub show your email address?

Yes, your email address (as specified in git config user. email ) will be visible in web interfaces like GitWeb.

How do you get details of a commit?

`git log` command is used to view the commit history and display the necessary information of the git repository. This command displays the latest git commits information in chronological order, and the last commit will be displayed first.

What is a commit email address?

About commit email addresses GitHub uses your commit email address to associate commits with your account on GitHub.com. You can choose the email address that will be associated with the commits you push from the command line as well as web-based Git operations you make.


1 Answers

You can use

git log

or

git show [commit number]

Output:

commit 5f3be67saki52cv80l0e4f55c05ec897de3sdgt67
Author: someone <[email protected]>
Date:   Wed Mar 23 17:10:48 2017 +0100

    Commit message
like image 125
Lahiru Avatar answered Sep 21 '22 17:09

Lahiru