Can Sourcetree add a switch to force commiters to follow conventional commit syntax.
Hi @Priyesh and welcome,
this is something that should appen on server side and not on client. A pre-hook should be applied on bitbucket so that commit will be rejected if a commit message doesn't follow a specific format.
Hope this helps,
Fabio
You can enforce the conventional commit syntax using the Better Commit Policy app.
It can enforce it on your local machine every time when you create a new commit. It works with any Git client, not only with Sourcetree. An example with the Git commandline client:
Here is the related guide.
(Discl. this app is developed and supported by our team.)
It looks like you're new here. Sign in or register to get started.