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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file coauthors-0.8.tar.gz.

File metadata

  • Download URL: coauthors-0.8.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for coauthors-0.8.tar.gz
Algorithm Hash digest
SHA256 82b48b65b8f5f6b0aaabe0bb0e65153b2c96aec79876ccbbc2e524a745bed522
MD5 e6af3c0ace70b8a669ae1b19602cf836
BLAKE2b-256 ac453b926da3ae0885e75e3e17ddc7a80bd88751037b8e6eab3a809d557b8d26

See more details on using hashes here.

File details

Details for the file coauthors-0.8-py3-none-any.whl.

File metadata

  • Download URL: coauthors-0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for coauthors-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b40f6395184a31e2a43640f9d9cb9926863066e47a587a2862b75e0d1ce4219a
MD5 6d32b0cb531768aa7a9d6df300620ba2
BLAKE2b-256 0227fc7debcd9ea8db93931f7d14a66e48efd09c3b4705fe7ccdb4188d07487b

See more details on using hashes here.

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