DEV Community

Discussion on: Any rules, tips and tricks for commit message

Collapse
 
emptyother profile image
emptyother

No need to prefix, you can add Jira's ticket id to the commit body instead. Useful if you prefer to keep the commit title length below 80 characters.

Collapse
 
pratikaambani profile image
Pratik Ambani

Okay!! I tried once after comma,using below mentioned format but it didn't work. #needInputs

Ex. removed unRequiredModule, MV-1235 added actual implementation

Thread Thread
 
emptyother profile image
emptyother

I do it like this, and Jira seems to be able to pick it up:

(commit title, 74 characters max)

(commit body, one or more paragrahps)
MV-1234
Thread Thread
 
pratikaambani profile image
Pratik Ambani

Taken, I'll try. Thanks for correcting :)