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

Re: git push tags

From
DNDrew Northup <n1xim.email@gmail.com>
Date
Oct 26, 2012, 14:13 UTC
Message-ID
<CAM9Z-nnrFxhX7XxBqe4qfuqZigpD12CrN2W6d=L996rJ_ecWFQ@mail.gmail.com>
In-Reply-To
<CAEUsAPZC80aSwnS0sBTt9nEu0HgyPp0BD2TWjSBb7tS7=i=VhQ@mail.gmail.com>
On Fri, Oct 26, 2012 at 9:59 AM, Chris Rorvick <chris@rorvick.com> wrote:
Show 8 quoted lines
> On Fri, Oct 26, 2012 at 8:37 AM, Drew Northup <n1xim.email@gmail.com> wrote:
>> (As for deleting the current branch, you can't really do that on a
>> proper bare remote anyway as there is no such thing as a "current
>> branch" in that context.)
>
> Really?  When I clone a bare repository I see a HEAD, and Git doesn't
> want me to delete it with a push from a remote repo.  So is this not a
> "proper" bare repository?

Chris, If there's no working directory in the remote repository is there a "current branch" in the _remote_ repository? (I am not talking about the tracking branch here. I also presume that attempting to delete the one and only branch is somewhat nonsensical.)

In any case, this is a different mental model than the one Angelo seems (to me) to be arguing.

-- 
-Drew Northup
--------------------------------------------------------------
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
Previous: Chris RorvickNext: Chris Rorvick
Message 8 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.