Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3317654
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:36:46+00:00 2026-05-17T22:36:46+00:00

I am aware of the technical differences between the two types of commands (usage

  • 0

I am aware of the technical differences between the two types of commands (usage without the -a flag creates a lightweight tag which is essentially a branch that never moves, while usage with -a creates a full object in Git’s object database which includes the committer’s name, email, etc.).

The question is: which one should I use in my projects (to indicate release versions on Github, for example)? And if one is hugely preferred over another, why does the other option exist? What are the use cases for each version?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:36:46+00:00Added an answer on May 17, 2026 at 10:36 pm

    I’d say that with published work, you should just always use annotated tags. That extra information is never going to harm you.

    Lightweight tags strike me as being more for when you’re being lazy. Maybe a temporary tag (just make sure you don’t accidentally push it; really you could just use a branch), or maybe a personal repo where there’s not much use for the extra information. My guess is that a lot of smaller projects do this too; they’re just not really concerned with the information. Probably there’s only one integrator, no one’s concerned with verifying signed tags, and they’re just simple markers of release versions. (I still think you should prefer annotated tags, just in case!)

    Another way of thinking of it: lightweight tags are kind of like writing a really bad commit message. You really shouldn’t do it, but sometimes people do, usually when no one’s watching.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am aware that in .NET there are three timer types (see Comparing the
Are you aware of any tool that creates diagrams showing the branch/merge activity in
I'm aware of the vim replace command, which is of the form, eg: :%s/old/new/gc
I am currently aware that ASP.NET 2.0 is out and about and that there
I'm aware of things like onchange , onmousedown and onmouseup but is there a
Of course I am aware of Ajax, but the problem with Ajax is that
I'm aware of FusionCharts , are there other good solutions, or APIs, for creating
Is anyone aware of a script/class (preferably in PHP) that would parse a given
Is anyone aware of a language feature or technique in C++ to prevent a
I'm fully aware that set division can be accomplished through a series of other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.