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

Re: immutable tags?

From
CSCarlos Santana <neubyr@gmail.com>
Date
Dec 28, 2009, 20:39 UTC
Message-ID
<92c9564e0912281239h49f9138ena8bbb3a63a337a55@mail.gmail.com>
In-Reply-To
<alpine.DEB.2.00.0912281223440.24130@asgard.lang.hm>

Thanks for the reply David. I think 'tagged directory' wasn't the appropriate phrase here.

In Subversion like systems branches and tags are same, i.e., both are created using 'svn copy'. Branches are generally created for separate line of development and tags for releasing software. So developers follow convention of not checking in anything into tags. Otherwise they are same.

I know that creating branches/tags doesn't involve copying files into new directory in case of git. It will act as a pointer and make note of changes thereafter. What I am not sure is difference between branches and tags. Is it left to developer to follow subversion like convention or git provides some mechanism to 'lock' tags?

- CS.

On Mon, Dec 28, 2009 at 2:25 PM,  <david@lang.hm> wrote:
Show 16 quoted lines
> On Mon, 28 Dec 2009, Carlos Santana wrote:
>
>> I would like to know if there is any difference between branches and
>> tags. Is it only conceptual - convention to be followed by a developer
>> or some technical difference?  e.g. : Is it possible to create
>> immutable tags so that nothing can be checked in to that 'tagged
>> directory'?
>
> tags are pointers into the tree. tags do not change.
>
> in git directories are not tagged, so I'm not sure what you are working
> towards here.
>
> David Lang
>
>
Previous: david@lang.hmNext: david@lang.hm
Message 3 of 8 in “immutable tags?”
  1. Carlos SantanaDec 28, 2009
  2. david@lang.hmDec 28, 2009
  3. Carlos SantanaDec 28, 2009
  4. david@lang.hmDec 28, 2009
  5. Matthieu MoyDec 28, 2009
  6. David KågedalDec 28, 2009
  7. Carlos SantanaDec 28, 2009
  8. Jakub NarebskiDec 28, 2009

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.