Forked from qoomon/conventional-commits-cheatsheet.md
Last active
November 29, 2024 04:35
-
-
Save jordan-chisl/7fb96fda2e28714d20679905ba1dbe23 to your computer and use it in GitHub Desktop.
Revisions
-
jordan-chisl revised this gist
Nov 29, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Revert "<b><reverted commit subject line></b>" </pre> <sup>Follows default git revert message</sup> ### Initial Commit ``` init ``` -
jordan-chisl revised this gist
Sep 6, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -38,6 +38,7 @@ init * `refactor` commits rewrite/restructure your code but does not change any API behaviour * `perf` commits are special `refactor` commits that are specific to performance optimisations * `model` commits commit code related to data model changes * `db` commits add or update code related to database operations * `config` commits add or update configuration files (e.g., JSON, YAML, and ENV config files) * `style` commits do not affect the meaning of the existing code (whitespace, formatting, missing semi-colons, etc.) * `test` commits add testing code or correct existing tests -
jordan-chisl revised this gist
Sep 6, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -42,7 +42,7 @@ init * `style` commits do not affect the meaning of the existing code (whitespace, formatting, missing semi-colons, etc.) * `test` commits add testing code or correct existing tests * `docs` commits affect documentation only * `build` commits affect build components (build tools, CI pipeline, dependencies, project version, etc.) * `ops` commits affect operational components (infrastructure, deployment, backup, recovery, etc.) * `chore` commits are miscellaneous commits e.g. modifying `.gitignore` -
jordan-chisl revised this gist
Sep 6, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,7 +37,7 @@ init * `fix` commits fix a bug * `refactor` commits rewrite/restructure your code but does not change any API behaviour * `perf` commits are special `refactor` commits that are specific to performance optimisations * `model` commits commit code related to data model changes * `config` commits add or update configuration files (e.g., JSON, YAML, and ENV config files) * `style` commits do not affect the meaning of the existing code (whitespace, formatting, missing semi-colons, etc.) * `test` commits add testing code or correct existing tests -
jordan-chisl revised this gist
Sep 6, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,6 +37,7 @@ init * `fix` commits fix a bug * `refactor` commits rewrite/restructure your code but does not change any API behaviour * `perf` commits are special `refactor` commits that are specific to performance optimisations * `model` commits add or change data models * `config` commits add or update configuration files (e.g., JSON, YAML, and ENV config files) * `style` commits do not affect the meaning of the existing code (whitespace, formatting, missing semi-colons, etc.) * `test` commits add testing code or correct existing tests -
jordan-chisl revised this gist
Jul 10, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ A commit message guideline based on the **[Conventional Commits Specification](h ## Commit Message Formats ### Standard Commit <pre> <b><a href="#types"><type></a></b></font>(<b><a href="#scopes"><optional scope></a></b>): <b><a href="#description"><description></a></b> <sub>empty separator line</sub> -
jordan-chisl revised this gist
Jul 9, 2024 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -46,11 +46,10 @@ init * `chore` commits are miscellaneous commits e.g. modifying `.gitignore` ### Scope (Optional) The `scope` provides additional contextual information about the commit, such as a few descriptive words refering to a section of the codebase (e.g., `fix(parser):`). * It is an **optional** part of the format * Allowed scopes depends on the specific project * Don't use issue identifiers as scopes ### Breaking Changes Indicator (Optional) Breaking changes should be indicated by an `!` before the `:` in the subject line e.g. `feat(api)!: remove status endpoint` -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 0 additions and 81 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -119,85 +119,4 @@ The `footer` should contain any information about breaking changes and is also t ``` --- -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -82,14 +82,14 @@ The `footer` should contain any information about breaking changes and is also t feat: add email notifications on new direct messages ``` * ``` feat(shopping cart): add the checkout button ``` * ``` feat!: remove ticket list endpoint refer to JIRA-1337 BREAKING CHANGES: ticket endpoints no longer support list all entities ``` * ``` fix(api): handle empty message in request body -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,6 +37,7 @@ init * `fix` commits fix a bug * `refactor` commits rewrite/restructure your code but does not change any API behaviour * `perf` commits are special `refactor` commits that are specific to performance optimisations * `config` commits add or update configuration files (e.g., JSON, YAML, and ENV config files) * `style` commits do not affect the meaning of the existing code (whitespace, formatting, missing semi-colons, etc.) * `test` commits add testing code or correct existing tests * `docs` commits affect documentation only -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Conventional Commit Messages A commit message guideline based on the **[Conventional Commits Specification](https://www.conventionalcommits.org/en/v1.0.0/#specification)**. -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -51,7 +51,7 @@ The `scope` provides additional contextual information about the commit, such as * Don't use issue identifiers as scopes * In most cases the scope should be a one-word noun ### Breaking Changes Indicator (Optional) Breaking changes should be indicated by an `!` before the `:` in the subject line e.g. `feat(api)!: remove status endpoint` * Is an **optional** part of the format @@ -63,13 +63,13 @@ The `description` contains a concise description of the change. * Don't capitalize the first letter * No period (`.`) at the end ### Body (Optional) The `body` should include the motivation for the change and contrast this with previous behavior. * It is an **optional** part of the format * Use the imperative, present tense: "change" not "changed" nor "changes" * This is the place to mention issue identifiers and their relations ### Footer (Optional) The `footer` should contain any information about breaking changes and is also the place to reference issues that this commit refers to. * It is an **optional** part of the format * **Optionally** reference an issue by its id. -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -65,15 +65,15 @@ The `description` contains a concise description of the change. ### Body The `body` should include the motivation for the change and contrast this with previous behavior. * It is an **optional** part of the format * Use the imperative, present tense: "change" not "changed" nor "changes" * This is the place to mention issue identifiers and their relations ### Footer The `footer` should contain any information about breaking changes and is also the place to reference issues that this commit refers to. * It is an **optional** part of the format * **Optionally** reference an issue by its id. * **Breaking changes** should start with the word `BREAKING CHANGES:` followed by space or two newlines. The rest of the commit message is then used for this. ### Examples -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -57,11 +57,11 @@ Breaking changes should be indicated by an `!` before the `:` in the subject lin ### Description The `description` contains a concise description of the change. * It is a **mandatory** part of the format * Use the imperative, present tense: "change" not "changed" nor "changes" * Think of `This commit will...` or `This commit should...` * Don't capitalize the first letter * No period (`.`) at the end ### Body The `body` should include the motivation for the change and contrast this with previous behavior. -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,7 @@ init * `chore` commits are miscellaneous commits e.g. modifying `.gitignore` ### Scope (Optional) The `scope` provides additional contextual information about the commit, such as a one-word description of a section of the codebase (e.g., `fix(parser):`). * It is an **optional** part of the format * Allowed scopes depends on the specific project * Don't use issue identifiers as scopes -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,7 @@ init * `chore` commits are miscellaneous commits e.g. modifying `.gitignore` ### Scope (Optional) The `scope` provides additional contextual information about the commit, such as a one-word description of a section of the codebase (e.g., `fix(parser):)`. * It is an **optional** part of the format * Allowed scopes depends on the specific project * Don't use issue identifiers as scopes -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 5 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -44,11 +44,12 @@ init * `ops` commits affect operational components (infrastructure, deployment, backup, recovery, etc.) * `chore` commits are miscellaneous commits e.g. modifying `.gitignore` ### Scope (Optional) The `scope` provides additional contextual information about the commit, such as a one-word description of a section of the codebase (e.g., `fix(parser):`. * It is an **optional** part of the format * Allowed scopes depends on the specific project * Don't use issue identifiers as scopes * In most cases the scope should be a one-word noun ### Breaking Changes Indicator Breaking changes should be indicated by an `!` before the `:` in the subject line e.g. `feat(api)!: remove status endpoint` -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,8 +2,6 @@ A commit message guideline based on the **[Conventional Commits Specification](https://www.conventionalcommits.org/en/v1.0.0/#specification)**. ## Commit Message Formats -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ A commit message guideline based on the **[Conventional Commits Specification](https://www.conventionalcommits.org/en/v1.0.0/#specification)**. <a href="https://www.conventionalcommits.org/en/v1.0.0/#specification" target="blank">Conventional Commits</a> ## Commit Message Formats -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,9 @@ A commit message guideline based on the **[Conventional Commits Specification](https://www.conventionalcommits.org/en/v1.0.0/#specification)**. <a href="https://www.conventionalcommits.org/en/v1.0.0/#specification" target="_blank">Conventional Commits</a> ## Commit Message Formats ### Default -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,6 @@ # Conventional Commit Messages <sub><img src="https://img.icons8.com/dusk/1600/commit-git.png" height="64" /></sub> A commit message guideline based on the **[Conventional Commits Specification](https://www.conventionalcommits.org/en/v1.0.0/#specification)**. ## Commit Message Formats -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,7 +37,7 @@ init * API relevant changes * `feat` commits add or remove a new feature * `fix` commits fix a bug * `refactor` commits rewrite/restructure your code but does not change any API behaviour * `perf` commits are special `refactor` commits that are specific to performance optimisations * `style` commits do not affect the meaning of the existing code (whitespace, formatting, missing semi-colons, etc.) * `test` commits add testing code or correct existing tests -
jordan-chisl revised this gist
Jul 1, 2024 . 1 changed file with 10 additions and 10 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -35,16 +35,16 @@ init ### Types * API relevant changes * `feat` commits add or remove a new feature * `fix` commits fix a bug * `refactor` commits rewrite/restructure your code, however does not change any API behaviour * `perf` commits are special `refactor` commits that are specific to performance optimisations * `style` commits do not affect the meaning of the existing code (whitespace, formatting, missing semi-colons, etc.) * `test` commits add testing code or correct existing tests * `docs` commits affect documentation only * `build` commits affect build components (build tools, ci pipeline, dependencies, project version, etc.) * `ops` commits affect operational components (infrastructure, deployment, backup, recovery, etc.) * `chore` commits are miscellaneous commits e.g. modifying `.gitignore` ### Scopes The `scope` provides additional contextual information. -
qoomon revised this gist
Jun 19, 2024 . No changes.There are no files selected for viewing
-
qoomon renamed this gist
Jun 19, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
qoomon renamed this gist
Jun 10, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
qoomon revised this gist
Jun 10, 2024 . No changes.There are no files selected for viewing
-
qoomon revised this gist
May 31, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -109,7 +109,7 @@ The `footer` should contain any information about **Breaking Changes** and is al build: update dependencies ``` * ``` build(release): bump version to 1.0.0 ``` * ``` refactor: implement fibonacci number calculation as recursion -
qoomon revised this gist
May 31, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Conventional Commit Messages <sub><img src="https://img.icons8.com/dusk/1600/commit-git.png" height="64" /></sub> See how [a minor change](#examples) to your commit message style can make a difference. > [!TIP] > Have a look at **[git-conventional-commits](https://github.com/qoomon/git-conventional-commits)** , a CLI util to ensure these conventions and generate verion and changelogs -
qoomon revised this gist
May 31, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -118,6 +118,7 @@ The `footer` should contain any information about **Breaking Changes** and is al style: remove empty line ``` --- ## Git Hook Scripts to ensure commit message header format
NewerOlder