Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 22 additions & 11 deletions lib/committer/config/defaults/commit_message_only.prompt
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ Here are the available scopes (if any):
{{SCOPES}}
</scopes>

Please follow these instructions to generate the commit message:

1. Analyze the git diff and determine the most appropriate commit type from the following options:
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries


2. Adhere to these message guidelines:
Expand All @@ -35,4 +24,26 @@ Please follow these instructions to generate the commit message:
- If a scope is available: <type>(<scope>): <description>
- If no scope is available: <type>: <description>


Please follow these instructions to generate the commit message:

if such and such changes its docs b ut if commit also has such then its a feat

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line contains confusing/unclear text: 'if such and such changes its docs b ut if commit also has such then its a feat'. Consider clarifying or rewording this guidance for better clarity.


1. Analyze the git diff and determine the most appropriate commit type from the following options:
- feat: A new feature these changes ARE NOT in the docs directory
- fix: A bug fix these changes ARE NOT in the docs directory
- docs: Documentation only changes for example changes that happen in docs directory
- style: Changes that do not affect the code execution (e.g., white-space, formatting, missing semi-colons, etc.) usually done by linters
- refactor:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The refactor description is incomplete or poorly formatted. The sentence structure seems off with 'just how the code is written executed'.

- A code change that does not change the behaviour of the code at all, just how the code is written executed,
- modifing error messages is not a refactor
- if parts of the code is removed and no alternative in place IT IS NOT A REFACTOR
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- build: Changes that affect the build system or external dependencies
- ci:
- Changes to the CI configuration files and scripts
- these changes should not change the way that the code is built otherwise its build

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'ci' description contains a grammatical error: 'its build' should be 'it's build'.



Respond ONLY with the commit message line, nothing else.
Loading