Author, Committer and Pusher can be different person in Git, but git didn’t store the pusher’s information in logs.
So, How do i get it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t.
The upstream repo doesn’t make any assumption about who is providing commit: it can be through email, a diff patch copied on a USB key, and other various transfer protocol.
Some of those protocols (ssh, https) might have in their logs the information you seek, but:
gitolite-adminrepo can be anything you want, and not related to a real name.As Linus mentions (in “Why do some open source projects do not accept pull requests, but emailing patch files only?“):
So if you want, as someone pushing some commits, to vouch for the integrity of the all repo, you can make and sign a tag on the
HEADof what is being pushed, in order for the upstream repo to consider you as, not exactly the “pusher”, but the one validating what has been pushed