0

Seems that we can commit with no message in Source Tree, but I want others not to do it in my project.

  • As [suggested](https://community.atlassian.com/t5/Sourcetree-questions/Require-non-empty-commit-messages-for-git/qaq-p/371821) in Atlassian's forum, you can use an external plugin called [Midori](http://www.midori-global.com/products/better-commit-policy-for-jira/documentation/#message-pattern-condition) to apply a regular expression to commit messages. – tomerpacific Feb 19 '19 at 06:39

1 Answers1

1

Can be done by an plugins called Midori

You can do this with the Commit Policy Plugin using the the commit message must match a regular expression condition.

This can verify the commit both locally and on the server for ultimate security.

Noor A Shuvo
  • 2,639
  • 3
  • 23
  • 48
  • Thank you for the information! Midori seems not free for using, is there any plugin like this? or is there any way to custom Source Tree? – toshiki iwasaki Feb 25 '19 at 07:38