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

git push changes local tags

From
Sergio <sergio.callegari@gmail.com>
Date
Aug 14, 2008, 13:29 UTC
Message-ID
<loom.20080814T132143-757@post.gmane.org>
Hi,
I have a repo with the following in the config
remote "Skeleton"]
        url = /<something>/Skeleton/Main.skeleton.git
        push = +refs/heads/*:refs/remotes/ET-LE/*
        push = refs/tags/*:refs/tags/ET-LE/*
This may look a bit unusual, but it has a ratio:

I have a skeleton repo. Whenever something is taken from there and modified, I like to have it pushed back so that the changes can be evaluated and possibly incorporated in the skeleton.

The problem is with tags.

If I do not add the push entry for the tags, the local tags pollute the Skeleton repo in case they are pushed.

Say someone has a local repo with tag ONE and he pushes to skeleton. The tag ONE is pushed into the Skeleton possibly overwriting some already existing tag named ONE there.

If I do add the push entry for the tags, whenever I push an unwanted tag appears locally.

Say, that I have locally the tag ONE, when I push I _locally_ get the tag ET-LE/ONE that is clearly unwanted, because when I push again I get ET-LE/ET-LE/ONE and so on.

Any idea?
Sergio   
Message 1 of 1 in “git push changes local tags”
  1. SergioAug 14, 2008

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.