π¦ A list
of common git
commit messages for clear
and consistent
version control. Just copy
, paste
and customize
.
π‘ Inspiration
1.
Important
π° Before getting started, please familiarize
yourself with the proper commit message format
, including the use of emojis
for different commit types.
Caution
π Kindly do not use the default Update file
message.
πͺͺ A standardized
structure used during commits
to maintain clarity
and consistency
in project history.
<emoji> <type>(<scope>): <subject>
<body>
<footer>
π₯ A format used during merges
to clearly document merge actions
in the project history.
<emoji> <type>(<scope>): <subject>
- <points>
- <points>
Contributor: <user>
Co-contributor: <user>
Closes #<issue>
π Common types of commit messages
with their corresponding emojis
:
0.
Initialization
π init(project): initial commit
1.
Features and enhancement
β¨ feat(): new feature
β‘ perf(): performance improvements
π¨ design(): ui/ux design improvements
π analytics(): analytics or tracking code
π integration(): external integrations
2.
Bug fixes
π fix(): bug fix
π debug(): debugging changes
π¨βπ§ patch(): minor fix or patch
3.
Documentation
π docs(): documentation changes
π update(): minor updates
π guide(): update or add a guide
4.
Code styling and refactoring
π style(): code formatting
β»οΈ refactor(): code refactoring
π§Ή cleanup(): clean-up or refactor of unused code
π οΈ fix(): code improvements
π₯ remove(): removing files or code
5.
Testing and maintenance
βοΈ test(passed): adding/modifying/result tests
β test(failed): adding/modifying/result tests
π§ chore(): maintenance tasks
π¨ build(): changes to the build process
π§ wip(): work in progress
π metrics(): metrics and monitoring
6.
Non-feature Changes
π non-feature(): non-feature change (json)
7.
Security and reverting changes
π security(): security improvements
π revert(): reverting previous changes
π‘οΈ protect(): security patches or fixes
π api(): api-related changes
8.
Deployments and builds
π deploy(): deploy-related changes
π¦ build(): changes to build configuration
π§ͺ ci(): continuous Integration changes
π¨ setup(): setup or config changes
π§° deps(): adjust dependencies (upgrade/downgrade)
9.
Database and infrastructure
ποΈ db(): database changes
π· infra(): infrastructure improvements
π‘ network(): network configurations or updates
10.
Others
π€ release(): new releases or version bumps
π dumpversion(): dumping version info or changelog
π ref(): reference updates or reorganization
π¬ discussion(): ongoing discussions or issue resolutions
βοΈ config(): configuration changes
π§ tweak(): minor adjustments or tweaks
π¨ alert(): important notices or warnings
11.
Please
π pls(): request or polite suggestion
π‘ Following scopes
are commonly used in commit messages
to indicate specific areas of the project
affected by the changes
:
auth
api
ui
database
components
config
tests
security
build
server
styles
checkout
payments
notifications
user
css
layout
frontend
backend
forms
router
passed
failed
βοΈβπ₯ Feel free
to submit pull requests
to add more commit types
or scope types
to this list.