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

Re: git-pull and tag objects

From
Alex Riesen <raa.lkml@gmail.com>
Date
Feb 9, 2007, 09:33 UTC
Message-ID
<81b0412b0702090133qa4eb0c0v6a2d309fe9653a3f@mail.gmail.com>
In-Reply-To
<1170933407.15431.38.camel@okra.transitives.com>
On 2/8/07, Alex Bennee <kernel-hacker@bennee.com> wrote:
Show 5 quoted lines
> I have slave repositaries which are cloned of the baseline which I do my
> development in. However when I bring the master branch of these work
> repositaries upto date (via git-pull ../baseline master) I find the tag
> objects are lost. Should they not be part of the tree? After all when I
> sync to Linus's kernel repo I get all his version tags as part of that.

You have to use "git pull ../baseline master:somewhere". This "master:somewhere" expression makes git fetch and stores the tags along with the branch' commits. Better yet, create an entry in remotes: .git/remotes or .git/config, depending on the version of git you have. The current master on kernel.org has the support for latter (branches in .git/config), which will also be in the upcoming release 1.5.

Previous: Alex BenneeNext: Junio C Hamano
Message 2 of 26 in “git-pull and tag objects”
  1. Alex BenneeFeb 8, 2007
  2. Alex RiesenFeb 9, 2007
  3. Junio C HamanoFeb 9, 2007
  4. git-fetch: document automatic tag following.Junio C Hamano, Feb 10, 2007
  5. Theodore TsoFeb 10, 2007
  6. Linus TorvaldsFeb 10, 2007
  7. Jakub NarebskiFeb 10, 2007
  8. Linus TorvaldsFeb 10, 2007
  9. Junio C HamanoFeb 11, 2007
  10. Jakub NarebskiFeb 12, 2007
  11. Theodore TsoFeb 11, 2007
  12. Linus TorvaldsFeb 11, 2007
  13. Junio C HamanoFeb 11, 2007
  14. Linus TorvaldsFeb 11, 2007
  15. Junio C HamanoFeb 11, 2007
  16. Junio C HamanoFeb 11, 2007
  17. Linus TorvaldsFeb 11, 2007
  18. Junio C HamanoFeb 11, 2007
  19. Theodore TsoFeb 12, 2007
  20. Junio C HamanoFeb 13, 2007
  21. Linus TorvaldsFeb 14, 2007
  22. Junio C HamanoFeb 14, 2007
  23. Johannes SchindelinFeb 14, 2007
  24. Linus TorvaldsFeb 14, 2007
  25. Jakub NarebskiFeb 15, 2007
  26. Johannes SchindelinFeb 15, 2007

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.