Append ticket number using git commit hooks?

前端 未结 6 1633
[愿得一人]
[愿得一人] 2020-12-24 02:21

So my branch is named after bugtracker ticket number, something like \"issue-1234\", and we have a convention to always write down ticket number in commit message. I\'m wond

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-24 02:56

    Using pre-commit along with the giticket hook, works pretty well to have the ticket number in the commit automatically.

提交回复
热议问题