tag:blogger.com,1999:blog-8696405790788556158.post8756065511550694769..comments2023-11-16T05:29:55.232+00:00Comments on puntoblogspot: Announcing commit-msg-prefix.Raimon Grauhttp://www.blogger.com/profile/15545476302081532235noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8696405790788556158.post-45740562298160289642017-07-03T09:26:09.800+01:002017-07-03T09:26:09.800+01:00But how does the git prefix command decide which p...But how does the git prefix command decide which prefix to insert? It would work if the name of the branch contains the wanted id. <br /><br />How do you solve this issue?<br />Raimon Grauhttps://www.blogger.com/profile/15545476302081532235noreply@blogger.comtag:blogger.com,1999:blog-8696405790788556158.post-85234417165238564232017-07-03T08:05:54.968+01:002017-07-03T08:05:54.968+01:00We use a scheme like the one you described, where ...We use a scheme like the one you described, where every commit has be prefixed by a certain id.<br />Instead of an Emacs function, git provides hooks, which let you edit the commit message, before it is editable in Emacs. We use one of these hooks to insert the prefix, which works very well.Anonymousnoreply@blogger.com