The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Conventional commit switch

Priyesh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2024

Can Sourcetree add a switch to force commiters to follow conventional commit syntax.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Aron Gombas _Midori_
Community Champion
May 20, 2026

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:

Local-Checks-Better-Commit-Policy-Connector-for-Bitbucket-Midori-05-20-2026_12_10_PM.png

Here is the related guide.

(Discl. this app is developed and supported by our team.)

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
April 14, 2026

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

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events