Skip to content

Instantly share code, notes, and snippets.

@massa142
Last active October 21, 2016 07:33
Show Gist options
  • Save massa142/4cfdf269010cccbbaf729b44ea795855 to your computer and use it in GitHub Desktop.
Save massa142/4cfdf269010cccbbaf729b44ea795855 to your computer and use it in GitHub Desktop.
# ==== Emojis ====
# ๐ŸŽจ :art: when improving the format/structure of the code
# ๐Ÿ”ง :wrench: when improving infrastructure/tooling
# ๐Ÿš€ :rocket: when improving performance
# ๐Ÿšฑ :non-potable_water: when plugging memory leaks
# ๐Ÿ“ :memo: when writing docs
# ๐Ÿ› :bug: when fixing a bug
# ๐Ÿ’š :green_heart: when fixing the CI build
# โœ… :white_check_mark: when adding tests
# ๐Ÿ‘ฎ :cop: when dealing with security
# โฌ†๏ธ :arrow_up: when upgrading dependencies
# โฌ‡๏ธ :arrow_down: when downgrading dependencies
# ๐Ÿ‘• :shirt: when removing linter warnings
# ๐Ÿ‘ :+1: when improving functions
# โœจ :sparkles: when adding partial functions
# ๐ŸŽ‰ :tada: when adding big functions
# โ™ป๏ธ :recycle: when refactoring code
# ๐Ÿ”ฅ :fire: when removing code or files
# ==== Format ====
# :emoji: Subject
#
# Commit body...
# ==== The Seven Rules ====
# 1. Separate subject from body with a blank line
# 2. Limit the subject line to 50 characters
# 3. Capitalize the subject line
# 4. Do not end the subject line with a period
# 5. Use the imperative mood in the subject line
# 6. Wrap the body at 72 characters
# 7. Use the body to explain what and why vs. how
#
# How to Write a Git Commit Message http://chris.beams.io/posts/git-commit/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment