It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes

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">

    <value>True</value>

</setting>

to

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

    <value>False</value>

</setting>

- In Mac, type the following in your terminal

defaults write com.TorusKnot.SourceTreeNotMAS suppressWarnOnEmptyCommit NO

and press 'Enter'.

Cheers :)

Ana

Yay, it worked! Thanks Ana.

Ana Retamal Atlassian Team Jun 23, 2017

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,902 views 0 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you