Skip to content

Instantly share code, notes, and snippets.

@batjaa
Last active February 13, 2018 18:48
Show Gist options
  • Save batjaa/3e6e1d99b781541b3ac8b7da7e06651a to your computer and use it in GitHub Desktop.
Save batjaa/3e6e1d99b781541b3ac8b7da7e06651a to your computer and use it in GitHub Desktop.
Git Commit Messages

Git Commit Messages

  • 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
    • βž• :heavy_plus_sign: when adding new dependencies
    • ⬆️ :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

Thanks to…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment