CursorPool
← 返回首页

Gitcommit

Gitcommit rules and best practices for Cursor

Lukas Wolfsteiner·69
规则

Git Commit Rules

Commit Messages must have a short description that is less than 50 characters followed by a newline and a more detailed description. - Commit message should have one of the following prefixes: "feat:

Commit Messages must have a short description that is less than 50 characters followed by a newline and a more detailed description.
- Commit message should have one of the following prefixes: "feat: ", "fix: ", "refactor: "
- Use markdown syntax
- Write concisely using an informal tone
- List significant changes
- Do not use specific names or files from the code
- Do not use phrases like "this commit", "this change", etc.
- Sentences in the detailed description should be separated by newlines
- Mention implications and possible usages of the code changes
- Do not respond as code with ``` at the end of the message