Skip to content

Home

How to add multiple authors to a commit

You can add multiple authors to a git commit, by adding one or more Co-authored-by trailers to the commit's message:

$ git commit -m "Refactor usability tests.
>
>
Co-authored-by: name <name@example.com>
Co-authored-by: another-name <another-name@example.com>"

Notes:

More like this

Start typing a keyphrase to see matching snippets.