Skip to main content

Commit Conventions Using Emojis

This guide establishes a coding style for commit messages using emojis, focusing on readability and ease of understanding. The use of emojis in commit messages is introduces a visual way to distinguish the nature of commits. This guide provides a standardized set of emojis, each representing a unique kind of git commit.

Commit Conventionsโ€‹

Here's how you can implement this emoji commit convention:

  1. ๐Ÿž Bugfixes: For all bugfixes.
  2. ๐Ÿš€ Initial Commits or Project Creation: For the initial commit or project creation.
  3. ๐Ÿ’… Eye Candies and Improvements: For UI/UX improvements.
  4. โœจ New Features: For introducing new features.
  5. ๐Ÿ’ Resolved Branch Merge Conflicts: For resolved merge conflicts.
  6. ๐Ÿ“š Documentation: For adding or updating the documentation.
  7. ๐Ÿงช Test Fixtures: For adding test cases.
  8. โš™๏ธ Configuration Updates: For configuration updates.
  9. ๐Ÿ› ๏ธ Code Refactoring: For refactoring code.
  10. ๐Ÿ—‘๏ธ Deletions: For deletions of files or code.
  11. ๐Ÿ”’ Security Updates: For improving security.
  12. ๐ŸŒ Internationalization (i18n) Updates: For translations or localization.
  13. โช Reverting Changes: For reverting back changes.

Examplesโ€‹

Here are examples of how you can use these in your commit messages:

git commit -m "๐Ÿž Fixed missing semicolon in main.js."
git commit -m "๐Ÿš€ Setting up project skeleton and directory structure."
git commit -m "๐Ÿ’… Updated website's color scheme to match branding."
git commit -m "โœจ Added social media sharing functionality."
git commit -m "๐Ÿ’ Resolved merge conflict in main.css due to parallel updates."
git commit -m "๐Ÿ“š Updated README with new feature descriptions."
git commit -m "๐Ÿงช Added unit test for the user login functionality."
git commit -m "โš™๏ธ Updated webpack for better bundle optimization."
git commit -m "๐Ÿ› ๏ธ Refactored main.js to remove redundant code."
git commit -m "๐Ÿ—‘๏ธ Removed deprecated loadUser function from userController.js."
git commit -m "๐Ÿ”’ Patched potential XSS vulnerability in user profile section."
git commit -m "๐ŸŒ Added French language support to the website."
git commit -m "โช Reverted back to previous commit due to breaking changes."