Simple multiple author support porcelain for git. Written in pure Bash.
brew install simoleone/tap/git-coauthor
git coauthor
display current coauthors and this usage message
git coauthor <initials or name> ...
set current co-authors to developers with matching initials or names
git coauthor --solo
remove current co-authors and go solo
git coauthor --add "Jane Smith <[email protected]>"
add a new author to the database
git coauthor --ls
list all authors in the database
git coauthor --rm <initials or name>
remove author with matching initials or name from the database
Github announced support for Co-authored-by:
trailers for git commits in January 2018.
Pairing is a great way to get things done, and everyone gets credit in commit graphs as
well as in Github's UI by using this method. So basically, this is great.
There are a number of existing solutions to this problem out there, but all of them fall a little bit short for one reason or another. The goals of this project are simple:
- No external dependencies (no node, ruby, etc). Should only depend on Bash and Git.
- Integration with git built-in porcelains.
git commit
should "just work". - No munging of author (and do not interfere with gpg commit signing). Use only the Co-authored-by trailer.
- github help about multiple authors.
- github blog announcing support for co-authored-by.
- chrisk/git-pair (depends on ruby, munges author name and email)
- findmypast-oss/git-mob#readme (depends on node)
- pivotal/git_scriptshttps://github.com/pivotal/git_scripts#git-pair) (depends on ruby, munges author name and email)
- git-duet/git-duet (mungest author name and email, does not integrate git commit)