Git Commit Messages
- Messages answers the following sentence:
Apply this commit to _______________
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally
- When only changing documentation, include
[ci skip]in the commit description - Consider starting the commit message with an applicable emoji:
- β¨
:sparkles:adding something new - π
:lipstick:when improving the format/structure of the code - π
:racehorse:when improving performance - π±
:non-potable_water: when plugging memory leaks - π
:memo:when writing docs - π
:bug:when fixing a bug - π₯
:fire:when removing code or files - π
:green_heart:when fixing the CI build - β
:white_check_mark:when adding tests - π
:lock:when dealing with security - β¬οΈ
:arrow_up:when upgrading dependencies - β¬οΈ
:arrow_down:when downgrading dependencies - π
:shirt:when removing linter warnings
- β¨