This sounds like precisely the purpose of standard formats for log
messages.  The simplest thing would be to prefix the subject with
"[type]:" like this:

major: add big feature


or put it on the first line of the body, if you have something else
you like to do with the subject, whatever.  As long as your format is
standard, you can easily search for that particular key.


On Jan 1, 11:59 am, Trans <> wrote:
> Is there are way to add a custom property to commits? I want to use it
> to track commit "type" For example, I use 'admin', 'doc', 'major',
> 'minor', and 'bug' to classify my commits.
> Thanks.


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to