On Fri, Jan 01, 2010 at 09:59:03AM -0800, 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.

There is no way to add properties to the commit header, they are set in
stone and to be used only for vital Git metadata. The best way to
achieve what you want is to simply have something like

        Type: bug

at the bottom of the commit message, or [bug] on the first line
beginning. You can help pre-fill this by a commit message template and
guard for its presence using hooks.

                                Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth


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 git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to