Skip to content

Instantly share code, notes, and snippets.

@dorayakikun
Created December 25, 2016 01:18
Show Gist options
  • Save dorayakikun/7d44c19a07c92341edb0f3b62c77a7cc to your computer and use it in GitHub Desktop.
Save dorayakikun/7d44c19a07c92341edb0f3b62c77a7cc to your computer and use it in GitHub Desktop.
Git Commit Messages
# ==== Emojis ====
# πŸ“¦ :package: New release
# ✨ :sparkles: when adding a new feature
# ♻️ :recycle: when improving the format/structure of the code
# πŸš€ :rocket: when improving performance
# 🚱 :non-potable_water: when plugging memory leaks
# πŸ“• :closed_book: when writing docs
# πŸ› :bug: when fixing a bug
# πŸ”₯ :fire: when removing codes or files
# πŸ’š :green_heart: when fixing the CI build
# βœ… :white_check_mark: when adding tests
# πŸ”’ :lock: when dealing with security
# πŸ‘• :shirt: when removing linter warnings
# ⬆️ :arrow_up: when upgrading dependencies
# ⬇️ :arrow_down: when downgrading dependencies
# ==== 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