Skip to content

jeet-khondker/git-commit-message-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

Git Commit Message Template

Git Commit Message Tags

  • feature : Indication of New Feature or Functionality or a significant enhancement into the system
  • fix : Signifies Bug or Error Fixes in the system
  • documentation : Changes to the Documentation File(s)
  • style : Addition / Changes to Design Styles of the Application UI / UX
  • refactor : Code Refactoring (Variable Renaming / Code Restructuring or Formatting) that doesn't affect Functionality
  • data : Used for database, information and data manipulation
  • test : Adding, Fixing or Modifying Tests; No Production Code Change
  • chore : Updating Build Scripts / Upgrading Dependencies, Maintenance and Changes in Tools; No Production Code Change
  • cicd : Changes to CI/CD Configuration or Scripts
  • performance : Performance Improvements / Optimization Changes
  • devEx : Developers' Experience : Use for anything that helps to improve developers' experience
  • revert : Undoing the changes made by a previous commit
  • miscellaneous : Use for anything that does not clearly fall into any of the previous categories

Examples

General Commit Message

git commit -m "documentation : Updated README File"

Making References

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

About

Commit Message Template for Git & Hithub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published