Why are lightweight tags not recommended?

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?

1 answer

1 accepted

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.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
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...

564 views 1 2
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