Skip to content

Instantly share code, notes, and snippets.

@tsvikas
Last active February 11, 2025 18:01
Show Gist options
  • Save tsvikas/5c0e0de22a1cfa4fa09ac1ad08bbfb76 to your computer and use it in GitHub Desktop.
Save tsvikas/5c0e0de22a1cfa4fa09ac1ad08bbfb76 to your computer and use it in GitHub Desktop.
like https://gitmoji.dev/ , but split into commit types
<!---
commit types from: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional
and https://commitlint.js.org/reference/prompt.html
-->
# API changes
## feat: A new feature
✨:sparkles:Introduce new features.
πŸ’„:lipstick:Add or update the UI and style files.
πŸ“ˆ:chart-with-upwards-trend:Add or update analytics or track code.
🌐:globe-with-meridians:Internationalization and localization.
🍱:bento:Add or update assets.
♿️:wheelchair:Improve accessibility.
πŸ’¬:speech-balloon:Add or update text and literals.
πŸ”Š:loud-sound:Add or update logs.
πŸ”‡:mute:Remove logs.
🚸:children-crossing:Improve user experience / usability.
πŸ₯š:egg:Add or update an easter egg.
πŸ’«:dizzy:Add or update animations and transitions.
πŸ›‚:passport-control:Work on code related to authorization, roles and permissions.
πŸ‘”:necktie:Add or update business logic.
πŸ’Έ:money-with-wings:Add sponsorships or money related infrastructure.
## fix: A bug fix
πŸ›:bug:Fix a bug.
πŸš‘οΈ:ambulance:Critical hotfix.
πŸ”’οΈ:lock:Fix security or privacy issues.
🚨:rotating-light:Fix compiler / linter warnings.
πŸ’š:green-heart:Fix CI Build.
✏️:pencil2:Fix typos.
πŸ‘½οΈ:alien:Update code due to external API changes.
πŸ₯…:goal-net:Catch errors.
🩹:adhesive-bandage:Simple fix for a non-critical issue.
# code changes
## perf: A code change that improves performance
⚑️:zap:Improve performance.
πŸ“±:iphone:Work on responsive design.
πŸ”οΈ:mag:Improve SEO.
🧡:thread:Add or update code related to multithreading or concurrency.
## refactor: A code change that neither fixes a bug nor adds a feature
πŸ”₯:fire:Remove code or files.
♻️:recycle:Refactor code.
🚚:truck:"Move or rename resources (e.g.: files, paths, routes)."
πŸ—οΈ:building-construction:Make architectural changes.
🏷️:label:Add or update types.
πŸ—‘οΈ:wastebasket:Deprecate code that needs to be cleaned up.
⚰️:coffin:Remove dead code.
## style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
🎨:art:Improve structure / format of the code.
# code adjecnt changes
## docs: Documentation only changes
πŸ“:memo:Add or update documentation.
πŸ“„:page-facing-up:Add or update license.
πŸ’‘:bulb:Add or update comments in source code.
πŸ‘₯:busts-in-silhouette:Add or update contributor(s).
## test: Adding missing tests or correcting existing tests
βœ…:white-check-mark:Add, update, or pass tests.
🀑:clown-face:Mock things.
βš—οΈ:alembic:Perform experiments.
🌱:seedling:Add or update seed files.
🧐:monocle-face:Data exploration/inspection.
πŸ§ͺ:test-tube:Add a failing test.
🦺:safety-vest:Add or update code related to validation.
# non-code changes
## build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
πŸ”:closed-lock-with-key:Add or update secrets.
⬇️:arrow-down:Downgrade dependencies.
⬆️:arrow-up:Upgrade dependencies.
πŸ“Œ:pushpin:Pin dependencies to specific versions.
βž•:heavy-plus-sign:Add a dependency.
βž–:heavy-minus-sign:Remove a dependency.
πŸ“¦οΈ:package:Add or update compiled files or packages.
πŸ“Έ:camera-flash:Add or update snapshots.
## ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
πŸ‘·:construction-worker:Add or update CI build system.
## chore: Other changes that don't modify src or test files
πŸš€:rocket:Deploy stuff.
πŸŽ‰:tada:Begin a project.
πŸ”–:bookmark:Release / Version tags.
πŸ”§:wrench:Add or update configuration files.
πŸ”¨:hammer:Add or update development scripts.
πŸ—ƒοΈ:card-file-box:Perform database related changes.
πŸ™ˆ:see-no-evil:Add or update a .gitignore file.
🚩:triangular-flag-on-post:Add, update, or remove feature flags.
🩺:stethoscope:Add or update healthcheck.
🧱:bricks:Infrastructure related changes.
πŸ§‘β€πŸ’»:technologist:Improve developer experience.
# special git commits
## revert: Reverts a previous commit
βͺ️:rewind:Revert changes.
## merge:
πŸ”€:twisted-rightwards-arrows:Merge branches.
# additional icons
## code-rank:
🚧:construction:Work in progress.
πŸ’©:poop:Write bad code that needs to be improved.
🍻:beers:Write code drunkenly.
## api-rank
πŸ’₯:boom:Introduce breaking changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment