Jira issue number in git commit message

前端 未结 6 1155
生来不讨喜
生来不讨喜 2020-12-28 13:54

At our company we are moving from svn to git. For issue tracking we use JIRA from Atlassian.

Now we want to enforce that every commit message contains an issue numbe

6条回答
  •  渐次进展
    2020-12-28 14:29

    You can have server-side hooks as well, pre-receive-hook or something, however this is not obvious if you're used to github.

    Failing that, I might consider providing an 'install-hooks' build option (as a rake task, make task, or whatever), although that would make me feel a bit 'dirty' because now my build is tied to the version control system...

提交回复
热议问题