Hacker News new | ask | show | jobs
by gcampbell 5212 days ago
Github displays the username/avatar for a commit based on that commit's Author field, not the user that pushed the changes to the repository.
2 comments

It's more that they display both. Unlike git core, github actually tracks "push" events to branches (git doesn't care, it only sees commits) as distinct from the commits they contain.

So presumably it would have shown the rails developer pushing a change authored by Homakov.

Git has no real way to track that, only commits. We do track it internally, but AFAIK it's not exposed except through post-receive hooks.
ref changes are tracked in the reflog, but the "pusher" (as opposed to author and committer) isn't.
Ok, I see. Thanks!