Add coauthors to your last git commit message.
To install coauthors, just run:
$ sudo python3 -m pip install coauthors
First create a config file with your coauthors.
Example ~/.coauthors.json:
{
"Faemino":
{
"name": "Juan Carlos Arroyo",
"email": "[email protected]"
},
"Cansado":
{
"name": "Angel Javier Pozuelo",
"email": "[email protected]"
}
}
Then add the following line to your sources file (.bashrc, .zshrc, ...):
export COAUTHORS_FILE="/home/<user>/.coauthors.json"
You can coauthor your commit with one friend
$ coauthors Faemino
or with many
$ coauthors Faemino Cansado
You can list your available coauthors
$ coauthors --list