re-enable warning for empty commits

By default, when you try do a commit with an empty commit message, you get popup to warn you. This popup has a checkbox "don't warn me again"

For a specific use case I needed to do a lot of commits where adding a commit message was unnecessary, so I checked the checkbox - expecting I could re-enable the warning in the settings later. However, I can't find this option anywhere.

How can I re-enable the warning for empty commits?

1 answer

This widget could not be displayed.

Hi Jaron! The way to re-enable that pop up depends on whic OS are you using:

- In Windows, edit the %localappdata%/Atlassian/SourceTree.exe_url_{hash}/{version}/user.config and change

<setting name="SuppressWarningOnEmptyCommit" serializeAs="String">




<setting name="SuppressWarningOnEmptyCommit" serializeAs="String">



- In Mac, type the following in your terminal

defaults write com.TorusKnot.SourceTreeNotMAS suppressWarnOnEmptyCommit NO

and press 'Enter'.

Cheers :)


Yay, it worked! Thanks Ana.

Glad to hear that, Jaron. Have a good day!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

884 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you