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?
Is there any ability to ability add this warning in version 3.4.7 of SourceTree? It seems that the configuration option mentioned above is no longer present.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yay, it worked! Thanks Ana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear that, Jaron. Have a good day!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.