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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page