Skip to content

Commit

Permalink
Merge pull request #24 from hankei6km/topic/update-notes
Browse files Browse the repository at this point in the history
docs: Update example of configuration in `.devcontainer.json`
  • Loading branch information
hankei6km authored Dec 21, 2023
2 parents 10fc25c + 78e8167 commit b8d68b9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/prepare-commit-msg-context/NOTES.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
## Install as a git hook

Please copy the script separately from installing the feature.

e.g.: Example of configuration in `.devcontainer.json`

```jsonc
{
"features": {
"ghcr.io/hankei6km/h6-devcontainers-features/prepare-commit-msg-context:1": {}
"ghcr.io/hankei6km/h6-devcontainers-features/prepare-commit-msg-context:1": {}
},
"postAttachCommand": "cp /usr/local/share/prepare-commit-msg-context/prepare-commit-msg .git/hooks/prepare-commit-msg"
"postCreateCommand": "cp /usr/local/share/prepare-commit-msg-context/prepare-commit-msg .git/hooks/prepare-commit-msg"
}
```
```

0 comments on commit b8d68b9

Please sign in to comment.