feature
: Indication of New Feature or Functionality or a significant enhancement into the systemfix
: Signifies Bug or Error Fixes in the systemdocumentation
: Changes to the Documentation File(s)style
: Addition / Changes to Design Styles of the Application UI / UXrefactor
: Code Refactoring (Variable Renaming / Code Restructuring or Formatting) that doesn't affect Functionalitydata
: Used for database, information and data manipulationtest
: Adding, Fixing or Modifying Tests; No Production Code Changechore
: Updating Build Scripts / Upgrading Dependencies, Maintenance and Changes in Tools; No Production Code Changecicd
: Changes to CI/CD Configuration or Scriptsperformance
: Performance Improvements / Optimization ChangesdevEx
: Developers' Experience : Use for anything that helps to improve developers' experiencerevert
: Undoing the changes made by a previous commitmiscellaneous
: Use for anything that does not clearly fall into any of the previous categories
General Commit Message
git commit -m "documentation : Updated README File"
Commit Message with reference of PR (Pull Request) for a new feature
git commit -m "ref !1234 feature : Created Functionality for Password Validation"
Commit Message with reference of Issue for an existing style-related task
git commit -m "ref #1234 style : Fixed Margin and Padding Design Issue for User Login Screen"
Commit Message in the past (if you forget to commit on that particular date in the past)
git commit --date="1 day ago" -m "feature : Added Test ID Attribute to 404 Not Found Page"
Avoid Merge Conflicts
Avoid Merge Conflicts by running the following command at the beginning of the work
git pull