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

Re: git push tags

From
ABAngelo Borsotti <angelo.borsotti@gmail.com>
Date
Oct 29, 2012, 07:13 UTC
Message-ID
<CAB9Jk9BmMMDLsY=kU5o-c4XF6fN3O44h_vXe3d=WF-W9HTBh_g@mail.gmail.com>
In-Reply-To
<4B8097A9D6854CDFA27E7CF6574B37BA@PhilipOakley>
Hi,
Pro Git, By Scott Chacon says:
2.6
   "Like most VCSs, Git has the ability to tag specific points in
history as being important.
Generally, people use this functionality to mark release points (v1.0,
and so on)."
2.6.2:
   "A [lightweight] tag is very much like a branch that does not change ..."

Clearly, tags are not the same as branches. They are there for a different purpose. If they were exactly the same as branches, there would be no need for them. Of course, they share some behaviors with branches, and there are several commands that handle them in the same way, but the key point is that they do not change, or at least they do not do that by default. The ability to force changes of tags is there only to correct tags that might have set tags to the wrong points by mistake. So, what I am telling is that this property must be preserved consistently across all commands, including git-push.

-Angelo
Previous: Chris RorvickNext: Angelo Borsotti
Message 22 of 35 in “git push tags”
  1. Angelo BorsottiOct 25, 2012
  2. Drew NorthupOct 25, 2012
  3. Angelo BorsottiOct 25, 2012
  4. Drew NorthupOct 25, 2012
  5. Angelo BorsottiOct 26, 2012
  6. Drew NorthupOct 26, 2012
  7. Chris RorvickOct 26, 2012
  8. Drew NorthupOct 26, 2012
  9. Chris RorvickOct 26, 2012
  10. Angelo BorsottiOct 26, 2012
  11. Kacper KornetOct 26, 2012
  12. Drew NorthupOct 26, 2012
  13. Kacper KornetOct 26, 2012
  14. Angelo BorsottiOct 26, 2012
  15. Kacper KornetOct 26, 2012
  16. Drew NorthupOct 26, 2012
  17. Johannes SixtOct 28, 2012
  18. Chris RorvickOct 28, 2012
  19. Philip OakleyOct 28, 2012
  20. Drew NorthupOct 28, 2012
  21. Chris RorvickOct 29, 2012
  22. Angelo BorsottiOct 29, 2012
  23. Angelo BorsottiOct 29, 2012
  24. Michael HaggertyOct 29, 2012
  25. Jeff KingOct 29, 2012
  26. Drew NorthupOct 29, 2012
  27. Angelo BorsottiOct 29, 2012
  28. Jeff KingOct 29, 2012
  29. Drew NorthupOct 29, 2012
  30. Angelo BorsottiOct 29, 2012
  31. Kacper KornetOct 29, 2012
  32. Jeff KingOct 29, 2012
  33. Chris RorvickOct 30, 2012
  34. Kacper KornetOct 29, 2012
  35. Chris RorvickOct 30, 2012

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.