Skip to content

Commit bf4c60d

Browse files
committed
docs: add auto-commit-msg instructions for non-nix users
--- {"auto-commit-msg":{"language":"rust","version":"0.4.0-dev","model":"gemini-2.5-flash-lite","response_time":1.26,"execution_time":1.29}}
1 parent e332b80 commit bf4c60d

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,27 @@ Download the precompiled binary from the [releases] page that matches your curre
2121
system. Unzip the file and place the binary in a location available on your
2222
`PATH` environment variable.
2323

24-
<details>
24+
<details open>
25+
<summary>Instructions for non-Nix users</summary>
26+
27+
### pre-commit
28+
29+
Add a `.pre-commit-config.yaml` file to your project's root directory with the
30+
following content:
31+
32+
```yaml
33+
- repo: local
34+
hooks:
35+
- id: auto-commit-msg
36+
name: auto-commit-msg
37+
entry: acm
38+
language: system
39+
stages: [prepare-commit-msg]
40+
```
41+
42+
</details>
43+
44+
<details open>
2545
<summary>Instructions for Nix users</summary>
2646
2747
### devenv

0 commit comments

Comments
 (0)