Skip to content

Commit

Permalink
docs: update examples.md to list custom config path with init flag
Browse files Browse the repository at this point in the history
  • Loading branch information
xsadia committed Dec 25, 2024
1 parent 9453b45 commit 83078cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website/docs/usage/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,15 @@ Skip running the commands defined in [pre](/docs/configuration/git#commit_prepro
# No external command execution
git cliff --no-exec
```

Write default config to cliff.toml:

```bash
git-cliff --init
```

Write default config to custom path:

```bash
git-cliff --config custom.toml --init
```

0 comments on commit 83078cf

Please sign in to comment.