Skip to content
Go back

Share The Credit, Accept The Blame

Published:  at  10:49 AM
1 min read

Not something I learned today, but definitely useful enough to spare future searches.

It is quite often that we pair-program a task in the startup I work for.

Pair Programming

To avoid sensitivities, share the credit and the blame, I recommend to co-author commits. All you need to do is add the following on the bottom of the commit message:

Co-authored-by: name <[email protected]m>

Add multiple co-authors by giving each one their own line.

Bonus

In case you don’t remember your user name or email type:

$ git config --global user.name
dkorn

$ git config --global user.email
[email protected]

I frequently say that I never share blame, I never share credit, and I never share desserts!

— Beverly Sills




Previous Post
zsh Autosuggestions
Next Post
Winning with console.logs