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

Re: Simple git push --tags deleted all branches

From
Mateusz Loskot <mateusz@loskot.net>
Date
Nov 28, 2018, 18:13 UTC
Message-ID
<CABUeae-eOFGxAHWuhP50GE8fAMnDH7rfqSV8MSVZ2ZnYH-2W6Q@mail.gmail.com>
In-Reply-To
<CABUeae-e33Jc4s4MezjhpVsEJ_0sO8QZ1mpa1z_79ZGuQWM-Xw@mail.gmail.com>
On Wed, 28 Nov 2018 at 17:50, Mateusz Loskot <mateusz@loskot.net> wrote:
Show 9 quoted lines
>
> (using git version 2.19.2.windows.1)
> [...]
> I restored the repo and tried out
>
> git push origin 1.0
> git push origin --tags
>
> and this time both succeeded, without wiping out any refs.
And, to my surprise, this pushed all branches and all tags:
git push --all origin
So, I  did not have to run follow with tags push only using
git push --tags origin

Has anything changes in [1] that now --all Push all branches ...AND tags?

[1] https://git-scm.com/docs/git-push#git-push---all
Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Previous: Mateusz LoskotNext: Ævar Arnfjörð Bjarmason
Message 2 of 6 in “Simple git push --tags deleted all branches”
  1. Mateusz LoskotNov 28, 2018
  2. Mateusz LoskotNov 28, 2018
  3. Ævar Arnfjörð BjarmasonNov 29, 2018
  4. Mateusz LoskotNov 29, 2018
  5. Ævar Arnfjörð BjarmasonNov 29, 2018
  6. Mateusz LoskotDec 4, 2018

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.