-
Notifications
You must be signed in to change notification settings - Fork 2
Git styleguide
Magno Fernando Brixner BiΓ©t edited this page Nov 17, 2017
·
11 revisions
- Automatic generating of the changelog
- Provide better information when browsing the history
<type>(<scope>): <subject>
<body>
<footer>| Commit type | Emoji |
|---|---|
| Initial Commit | π Party Popper |
| Version Tag | π Bookmark |
| New Feature (feat) | β¨ Sparkles |
| Bugfix (fix) | π Bug |
| Security Fix | π Lock |
| Metadata | π Card Index |
| Refactoring (refactor) | β»οΈ Black Universal Recycling Symbol |
| Documentation (docs) | π Books |
| Internationalization (i18n) | π Globe With Meridians |
| Accessibility | βΏ Wheelchair |
| Performance | π Horse |
| Cosmetic (style) | π¨ Artist Palette |
| Tooling | π§ Wrench |
| Tests (test) | π¨ Police Cars Revolving Light |
| Deprecation | π© Pile of Poo |
| Removal | ποΈ Wastebasket |
| Work In Progress (WIP) | π§ Construction Sign |
| Revert (revert) | π Back With Leftwards Arrow Above |
| Maintain (chore) | - |
Uses the imperative, present tense: "change" not "changed" nor "changes".
- https://help.github.com/articles/autolinked-references-and-urls/
- https://help.github.com/articles/closing-issues-using-keywords/
List of all subjects since last release
git log <LAST_TAG> HEAD --pretty=format:%sNew features in this release
git log <LAST_RELEASE> HEAD --grep featcd ~
wget -c https://raw.githubusercontent.com/magnobiet/my-coding-style/master/.gitmessage
git config --global commit.template ~/.gitmessage