Re: Why git tags are there in git?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11-01-28 07:27 AM, "L. Alberto Giménez" wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]