Skip to content

Instantly share code, notes, and snippets.

@MinhasKamal
Last active August 1, 2018 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MinhasKamal/35a95226502a494621cf4a7ecd4bccea to your computer and use it in GitHub Desktop.
Save MinhasKamal/35a95226502a494621cf4a7ecd4bccea to your computer and use it in GitHub Desktop.
tags for commit message for better understandability

one simple tag may mean a lot...

Commit Message Tags

  • [feat]/[feat-impl]: New Feature Implementation - implementing new feature/functionality
  • [enhnc]: Enhancement - adding more functionality to existing feature
  • [req]/[req-chng]: Requirement Change - introducing requirement change, doing something in a different way
  • [fix]/[bug-fix]: Bug Fix - patch fixing bug/issue/defect
  • [refact]: Refactoring - code refactoring, like- name, indentation, formatting, spacing, code-block removal, etc.
  • [config]: Changing Configuration - changing build confuration, or external dependencies, or libraries, etc.
  • [doc]: Documentation - adding project documentation/comment
  • [test]: Test - adding/removing/correcting tests, like- unittest

Examples

[feat-impl] add file read-write support

[feat-impl] add ServerConfiguration

[feat-impl] add authorization through tenant-id and token

[enhnc] support for easy gui resization

[req-chng] json time format for communication changed

[req-chng] 'USERID' is an auto field in ZKAccess DB, so need to use 'Badgenumber' from 'USERINFO' table instead for communicating with server.

[bug-fix] was sending wrong data to the server

[refact] extracted ConfigurationManagerAIS from ConfigurationManager, and renamed DataSender to Communicator

[doc] add developer info

[doc] adding installation instruction to readme

(some bad/good commit messages, accompanied by great tags ;) )

@MinhasKamal
Copy link
Author

There are times- we abruptly write commit messages just to get the project running; and suffer a lot later while maintaining. A small tag may prove to be a life saver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment