Skip to content

Commit fb26cd3

Browse files
docs: update README.md
1 parent 13cb846 commit fb26cd3

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,22 @@ Download binary from [releases](https://github.com/conventionalcommit/commitlint
2929
#### Using go
3030

3131
```bash
32-
# Install commitlint
3332
go install github.com/conventionalcommit/commitlint@latest
3433
```
3534

3635
### Enable in Git Repo
3736

38-
```bash
39-
# enable for single repo
40-
commitlint init # from repo directory
37+
- enable for a single repository, `cd` to repository directory
4138

42-
# enable for globally for all repos
43-
commitlint init --global
44-
```
39+
```bash
40+
commitlint init
41+
```
42+
43+
- enable globally for all repositories
44+
45+
```bash
46+
commitlint init --global
47+
```
4548

4649
### Test
4750

0 commit comments

Comments
 (0)