Pair programming should credit everyone who contributed, even when one developer creates the commits. A co-authored-by commit trailer adds each collaborator’s name and email address to the commit message. section 11.2.3
Add collaborators when finishing a shared commit:
- Leave two empty lines after the commit message. section 11.2.3
- Add one Co-authored-by line for each collaborator, including the name and email address. section 11.2.3
- Finish the commit message normally after all collaborators are listed. section 11.2.3
Two-person pairing commit
Co-authored-by: ADRIENNE BRAGANZA <ADRIENNE@EXAMPLE.COM> Co-authored-by: MARIO TACKE <MARIO@EXAMPLE.COM> section 11.2.3
Co-authored-by: ADRIENNE BRAGANZA <ADRIENNE@EXAMPLE.COM> Co-authored-by: MARIO TACKE <MARIO@EXAMPLE.COM>
Inspect the exact multi-collaborator trailer listing. section 11.2.3
