Skip to content

Commit

Permalink
Add example for multiple co-authors to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Jun 9, 2023
1 parent ff766ca commit 53d7228
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,23 @@ Context/description (what and why)
Co-authored-by: John Doe <[email protected]>
```

Multiple co-authors:

```bash
git-commit-template set --pair doe --pair mary --dry-run
```

Produces:

```
Subject (keep under 50 characters)
Context/description (what and why)
Co-authored-by: John Doe <[email protected]>
Co-authored-by: Mary Tester <[email protected]>
```

Tip:

Due to the executable's naming you can also call it like so:
Expand Down

0 comments on commit 53d7228

Please sign in to comment.