如何在Git提交链上查看贡献者的电子邮件地址? [英] How to see contributor's email address on Git commit chain?

查看:120
本文介绍了如何在Git提交链上查看贡献者的电子邮件地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过长时间的尝试和Google搜索后,我看不到如何在github上向贡献者发送电子邮件.为什么每个初学者指南都鼓励我们立即配置user.email,以便在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?

推荐答案

您可以使用

git log

git show [commit number]

输出:

commit 5f3be67saki52cv80l0e4f55c05ec897de3sdgt67
Author: someone <someone@mail.com>
Date:   Wed Mar 23 17:10:48 2017 +0100

    Commit message

这篇关于如何在Git提交链上查看贡献者的电子邮件地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆