Created
May 23, 2025 14:06
-
-
Save Kartones/d6272dd01c5369f682c9f9cb9d0519b7 to your computer and use it in GitHub Desktop.
cursor-conventional-commits.mdc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| description: | |
| globs: | |
| alwaysApply: true | |
| --- | |
| Write your git commits following the "conventional commits" semantics and guidelines. | |
| Prefixes for commits: | |
| - `build:` | |
| - `chore:` | |
| - `ci:` | |
| - `docs:` | |
| - `feat:` | |
| - `fix:` | |
| - `perf:` | |
| - `refactor:` | |
| - `revert:` | |
| - `style:` | |
| - `test:` | |
| Optional decorations for the prefixes: | |
| - `(<scope>)` e.g., `fix(test)` or `fix(api)` | |
| - `BREAKING CHANGE: <description>`: In a new line, after the main message | |
| When attempting to add multiple lines in the commit message, use always the single-line message format. | |
| Example: | |
| ``` | |
| git commit -m "feat: support zero amounts and file comments" -m "- Allow zero amounts in both expense and income entries" -m "- Change entry sorting to ascending order for better readability" -m "- Add support for comments in .dat files (lines starting with ;)" -m "- Update documentation to version 1.3 with new features" | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment