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

Re: Pushing a single tag (ref + object)?

From
Horst von Brand <vonbrand@inf.utfsm.cl>
Date
Oct 19, 2005, 12:39 UTC
Message-ID
<200510191239.j9JCd5nQ018754@laptop11.inf.utfsm.cl>
In-Reply-To
<martin.langhoff@gmail.com>
Martin Langhoff <martin.langhoff@gmail.com> wrote:
Show 15 quoted lines
> While we are using a repo which holds all our branches
> (dev/test/prod), locally we have a group of developers that checkout
> one repo-per-branch, working on it with a
> cg-clone/cg-update/cg-commit/cg-push workcycle. So far it's working
> great.
> 
> Now, I am at a loss on how to push a _tag_ object+ref to the repo,
> without doing a git-push --all, which I naturally don't want to do. I
> managed to push the object itself, doing
> 
>     git-push repository tagrefname
> 
> But that ddn't create the ref on the repo. So I had to do
> 
>     scp .git/refs/tags/refname repostory/refs/tags/
I've done:
     git push repository refs/tags/refname
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
Next: Horst von Brand
Message 1 of 4 in “Re: Pushing a single tag (ref + object)?”
  1. Horst von BrandOct 19, 2005
  2. Horst von BrandNov 1, 2005
  3. Andreas EricssonNov 2, 2005
  4. Junio C HamanoNov 2, 2005

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.