Git commit fails with 'subject may not be empty' and 'type may not be empty' errors #131
-
Issue DescriptionWhen trying to commit documentation changes with the message "ガイドの和訳を追加した" (Japanese translation: "Added guide translation"), I'm encountering the following errors: ✓ Preparing lint-staged...
✓ Running tasks for staged files...
✓ Applying modifications from tasks...
✓ Cleaning up temporary files...
✕ subject may not be empty [subject-empty]
✕ type may not be empty [type-empty]
found 2 problems, 0 warnings Question |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jinwatanabe! You have to use https://www.conventionalcommits.org/ja/v1.0.0/ for the commit messages, also described at https://github.com/lazarv/react-server/blob/main/.github/commit-convention.md. To ensure consistency and accessibility for all developers, please use English in your commit message. This helps maintain a clear version history and makes it easier for everyone to understand the changes. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi @jinwatanabe! You have to use https://www.conventionalcommits.org/ja/v1.0.0/ for the commit messages, also described at https://github.com/lazarv/react-server/blob/main/.github/commit-convention.md. To ensure consistency and accessibility for all developers, please use English in your commit message. This helps maintain a clear version history and makes it easier for everyone to understand the changes. Thanks!