- Use the Present Tense ("Add feature" not "Added feature").
- Use the Imperative Mood ("Move cursor to..." not "Moves cursor to...").
- Limit the subject line to 50 characters
- Wrap the body at 72 characters
- Reference issues and pull requests
- When only changing documentation, include
[ci skip]
in the commit description - Be creative with emojies
- π
:tada:
Initial commit - π¨
:art:
when improving the format/structure of the code - π
:racehorse:
when improving performance - π
:books:
when writing docs - βοΈ
:pencil2:
when fixing typos - π
: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 - π§
:construction:
work in progress - β¨
:sparkles:
when adding feature - π
:lipstick:
when improving UI - π
:gem:
new release - π
:rocket:
Anything related to Deployments/DevOps
- π
-
-
Save mattbontrager/1ff84914d02880b842868b6c69ca258b to your computer and use it in GitHub Desktop.
Git Commit Messages
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment