Skip to content

Commit

Permalink
Merge pull request #24 from tupleapp/coauthorsDocWindows
Browse files Browse the repository at this point in the history
document how to configure coauthors trigger, include windows
  • Loading branch information
marler8997 authored Dec 20, 2023
2 parents f2e3e81 + 3abf6f6 commit 9f5afdc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion triggers/git-coauthors/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# git-coauthors

Automatically add git coauthors when pairing on a call
Automatically add git coauthors when pairing on a call.

Updates the file `$HOME/.gitmessage` with each participant as a coauthor.

Ensure that `$HOME/.gitmessage` shows up in your commit template with the following command:

```sh
$ git config --global commit.template $HOME/.gitmessage
```

For Windows you can use:

```batch
> git config --global commit.template %USERPROFILE%\.gitmessage
```
2 changes: 1 addition & 1 deletion triggers/git-coauthors/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Git Coauthors",
"description": "Automatically add git coauthors when pairing on a call",
"platforms": ["macos", "linux"],
"platforms": ["macos", "linux", "windows"],
"language": "ruby"
}

0 comments on commit 9f5afdc

Please sign in to comment.