it-wiki:git:conventional_commits
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
it-wiki:git:conventional_commits [2023/01/05 23:51] – marko | it-wiki:git:conventional_commits [2023/01/05 23:59] (aktuell) – alte Version wiederhergestellt (2023/01/06 00:51) marko | ||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
But, before talking about how to automatically create our changelogs I have to introduce you to the [[https:// | But, before talking about how to automatically create our changelogs I have to introduce you to the [[https:// | ||
- | \\ | ||
\\ | \\ | ||
The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history, which makes it easier to write automated tools on top of. This convention dovetails with SemVer, by describing the features, fixes, and breaking changes made in commit messages. | The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history, which makes it easier to write automated tools on top of. This convention dovetails with SemVer, by describing the features, fixes, and breaking changes made in commit messages. | ||
Zeile 12: | Zeile 11: | ||
Commits will have a standard structure that serves to describe exactly what happened in that commit: | Commits will have a standard structure that serves to describe exactly what happened in that commit: | ||
- | {{ : | + | {{ : |
+ | |||
+ | or if you use the short version from your terminal: | ||
+ | '' | ||
+ | |||
+ | Every commit has a **type** that falls into a predefined category, the specific categories are: | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | The scope specifies what you have changed, preferably in a single word. | ||
+ | The description is a one line that specifies what the change is. | ||
+ | |||
+ | In [[https:// |
it-wiki/git/conventional_commits.1672962671.txt.gz · Zuletzt geändert: von marko