On this page
Commit Message Guidelines
Guidelines for writing clear and consistent commit messages, categorized by type of change, to enhance collaboration and code management in software development.
Introduction
In software development, maintaining a clear and consistent style for commit messages is essential for effective collaboration and code management. Below are guidelines for different categories of commit messages, each with a specific purpose and format.
Commit Message Conventions
Addition of New Features or Files
Removal of Features or Files
Modifications or Improvements
Minor Adjustments or Enhancements
Performance or Efficiency Improvements
Code Refactoring Without Changing Functionality
Making Code or Documentation Consistent
Code Style Changes (Without Impacting Functionality)
Bugfixes and Critical Solutions
Fixing a Specific Bug
Urgent Fix for a Critical Production Issue
A Quick Bugfix That Has Not Been Fully Tested
Security and Tests
Resolving Security Issues
Adding or Modifying Test Cases
Maintenance and Documentation
Maintenance Tasks Without Functional Impact
Code Cleanup Without Functional Changes
Adding Documentation or Comments
Version Control and Reversions
Bumping a Version or Updating a Dependency
Reverting to a Previous Stable Version
Undoing or Reversing a Commit
Preparation and Staging
Preparing Changes for a Commit
Last updated 8 days ago.