Skip to content

fixes yaml example #1350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ The equivalent example for a json config file:
}
```

And the correspondent example for a yaml json file:
And the correspondent example for a yaml file:

```yaml
commitizen:
Expand All @@ -115,8 +115,8 @@ commitizen:
schema: "<type>: <body>"
schema_pattern: "(feature|bug fix):(\\s.*)"
bump_pattern: "^(break|new|fix|hotfix)"
commit_parser: "^(?P<change_type>feature|bug fix):\\s(?P<message>.*)?",
changelog_pattern: "^(feature|bug fix)?(!)?",
commit_parser: "^(?P<change_type>feature|bug fix):\\s(?P<message>.*)?"
changelog_pattern: "^(feature|bug fix)?(!)?"
change_type_map:
feature: Feat
bug fix: Fix
Expand All @@ -139,10 +139,10 @@ commitizen:
message: Select the type of change you are committing
- type: input
name: message
message: Body.
message: 'Body.'
- type: confirm
name: show_message
message: Do you want to add body message in commit?
message: 'Do you want to add body message in commit?'
```

### Customize configuration
Expand Down