coauthors

Add coauthors to your last git commit message.


License
GPL-3.0
Install
pip install coauthors==0.8

Documentation

coauthors

Add coauthors to your last git commit message.

Install

To install coauthors, just run:

$ sudo python3 -m pip install coauthors

Configure

First create a config file with your coauthors.

Example ~/.coauthors.json:

{
  "Faemino":
  {
    "name": "Juan Carlos Arroyo",
    "email": "faemino@comedian.com"
  },
  "Cansado":
  {
    "name": "Angel Javier Pozuelo",
    "email": "cansado@comedian.com"
  }
}

Then you need to create an environment variable

COAUTHORS_FILE="/home/<user>/.coauthors.json"

Usage

You can coauthor your commit with one friend

$ coauthors Faemino

or with many

$ coauthors Faemino Cansado

You can list your available coauthors

$ coauthors --list