Software architect with a passion for home automation.
If someone else created some sourcecode, but for whatever reason they aren’t the one adding it to the repository. You can still have their name/photo in the git commit.
Just add the following to the commit message.
Co-authored-by: Name <firstname.lastname@example.org>
If the extra author doesn’t want his/her email to become public. Or you don’t know their emailaddress. You can use a special emailaddress. That way github will still connect the right user, but their email stays protected (or unknown).
Or generate the Co-Authored text here.
So you want to commit code to me? You the following in your commit message (yes the empty line is required).
Co-authored-by: Stephan van Rooij <email@example.com>