4 ms·
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.
by gcampbell 15y 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.
- o1iver 15y agoOk, I see. Thanks!
- ajross 15y agoIt'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.
- technoweenie 15y agoGit 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.
- Tobu 15y agoref changes are tracked in the reflog, but the "pusher" (as opposed to author and committer) isn't.