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

0 votes
Answer 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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,207 views 4 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