DEV Community

Discussion on: How to attribute another author when you're committing on git?

Collapse
 
ferricoxide profile image
Thomas H Jones II

Take note of the doubled commit-icon in the image-capture from the author's repository view. Git still knows who actually pushed the commite - eitehr via the SSH key used for the git@... URL, the credentials passed via the https://... URL or the API-token you used. So, you'll get this doubled icon when the author-tag doesn't match what's in the pusher's registered list of email addresses.

Also, (especially) if you're in a big org, you should probably be forcing commit-signing on your projects to help prevent attempts at game-playing.