The dialog to create a tag has, in the Advanced Options section, the option for the tag to be of the lightweight sort, but then it adds that it is "not recommended".
Is it not because SourceTree cannot reliably create them or is SourceTree being patronizing here? If the later, I do not consider that a proper place to suggest subjective good practices. And besides, why would they not be?
It is generally accepted that it is best practice to avoid lightweight tags. I don't think SourceTree is being patronizing, I certainly didn't know the difference before you asked the question, I just took SourceTree at its word, and I think many other users will behave the same.
This StackOverflow answer provides a good explanation of why annotated tags should always be used, even if the tagger doesn't have a comment to include.
Thanks for the link and answers.
I still think the dialog is not a place to provide advice on good practices (however sound; otherwise, why only in that dialog?), and that the message is confusing as I originally thought that I had rather not add that sort using SourceTree.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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