Skip to main content

Add coauthors to your last git commit message.

Project description

# coauthors
Add coauthors to your last git commit message.

## Install

To install **coauthors**, just run:

```sh
$ sudo python3 -m pip install coauthors
```

## Configure

First create a config file with your coauthors.

Example ~/.coauthors.json:

```javascript
{
"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

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

## Usage

You can coauthor your commit with one friend
```sh
$ coauthors Faemino
```

or with many
```sh
$ coauthors Faemino Cansado
```

You can list your available coauthors
```sh
$ coauthors --list
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coauthors-0.8.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distribution

coauthors-0.8-py3-none-any.whl (3.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page