git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Why git tags are there in git?

From
Gabriel Filion <lelutin@gmail.com>
Date
Jan 28, 2011, 15:03 UTC
Message-ID
<4D42DABA.5060603@gmail.com>
In-Reply-To
<4D42B623.5060709@sysvalve.es>
On 11-01-28 07:27 AM, "L. Alberto Giménez" wrote:
Show 9 quoted lines
> On 28/01/2011 12:37, vikram2rhyme wrote:
>>
>> Hello friends
>> I am wondering why the tags are there in git. As they are just pointer to
>> the commit
>> we can refer those commit by SHA sum only then why tagging?
> 
> Hi, I tend to find easier "release-v1" than 2cff0e391ab127ae...
> 

In general, tags are used for marking a point in time. That marker won't move, whereas branches can move with time.

For example, in most projects tags are used to make it easier to refer to commits that mark official releases. In git.git (git's own repository), the tag v1.7.3.5 points to the release with the same number.

-- 
Gabriel Filion
Previous: L. Alberto GiménezNext: Konstantin Khomoutov
Message 3 of 5 in “Why git tags are there in git?”
  1. vikram2rhymeJan 28, 2011
  2. L. Alberto GiménezJan 28, 2011
  3. Gabriel FilionJan 28, 2011
  4. Konstantin KhomoutovJan 28, 2011
  5. Enrico WeigeltJan 29, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.