Whether you love or hate pairing, we can all agree that attributing work to both pair partners is a pain. Enter: The Easiest Solution Possible™.
Before you merge your commit, run the following:
git commit --amend --author="Jessie and Joel <firstname.lastname@example.org>"
Using my username, then “+” and any text (like “email@example.com”) is valid for Google Apps (read more here).
Once you have changed the author of your commit, you can push it to GitHub.
GitHub uses Gravatar to display user avatars, so you should already have a Gravatar account. Sign into your account, go to the upper righthand corner, and click ‘add an email address’ to add the email address from Step 1.
If you’re using a Mac, Photo Booth is an easy way to snap a quick picture of you and your pair. If you want to get a little more creative, PhotoFunia’s Face swap is a good choice. Here is my face swapped with Joel’s:
Go back to Gravatar and click ‘add a new image’ to upload your new pair avatar. Gravatar will ask you where you would like to use this image. Select the email address you added in Step 2.
Now your commit will go from this:
If you found this useful, you might also enjoy: