flurinduerst / WPSeed-Emoji-Log

a git commit log standard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WPSEED EMOJI LOG

Version 1.3.0 (23.07.2019)

This is a git commit log standard called WPSEED-EMOJI-LOG

We all know that a well-crafted Git commit message is the best way to communicate context about a change to fellow developers and our future selves. A diff will tell you what changed, but only the commit message can properly tell you why.

PHILOSOPHY

When looking at a full page of git-commits it can be hard to get an overview of what was done. By using categorized emojis, we can quickly see what's going on. Instead of using too many emojis which takes too much time and leads to inconsistent usage, we're keeping the categories small and simple. Also there are some guidelines on how we write messages.

EMOJI USAGE

Always use one of the following emojis followed by the category in uppercase when writing a commit subject.

Commit Type Emoji / Example
NEW  πŸ“¦ NEW: add navigation html/css
IMPROVE  πŸ’Ž IMPROVE: add animation for button hover state
CLEANUP  βœ¨ CLEANUP: remove unused functions
FIX πŸ› FIX: position of submit button on mobile devices
HOTFIX  πŸš‘ HOTFIX: remove faulty comment function - needs update for PHP7
CONTENT  πŸ“š CONTENT: rename strings at team-page
COMPATIBILITY  πŸ§© COMPATABILITY: add grid fallback for IE11
DOC  πŸ“– DOC: Update readme
ENVIRONMENT  βš™οΈ ENV: Update package.json
RELEASE  πŸš€ RELEASE: 2.1.0 (also used for initializing a new repo)

hint: use your Autocomplete Functions (Settings -> Keyoard -> Text on OSX) so you don't have to type/search the emojis:

GENERAL GUIDELINES

  • IMPERATIVE
    • Make your Git commit messages imperative.
    • Write commit message like you're giving an order.
    • E.g., Use add instead of added.
    • E.g., Use create instead of creating.
  • Limit the subject line to 50 characters
    • Keeping subject lines at this length ensures that they are readable.
  • NO PERIOD
    • Do not end the subject line with a period. Trailing punctuation is unnecessary in subject lines.
  • USE THE BODY IF NEEDED
    • If the subject doesn't make 100% clear what was changed, and why, use the body to give context.
  • DO NOT REPEAT THE ACTION-TYPE IF UNNECESSARY
    • If the leading description-word can be used as part of the commit message, use it.
    • E.g., Use πŸ› FIX: display-bug in navigation instead of πŸ› FIX: fix display-bug in navigation
    • E.g., Use πŸ’Ž IMPROVE: performance on hover-animations instead of πŸ’Ž IMPROVE: improve performance on hover-animations

πŸ– About

Author: Flurin DΓΌrst

License: WTFPL2

About

a git commit log standard

License:Do What The F*ck You Want To Public License