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

Re: git push --all --tags

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Nov 15, 2014, 18:33 UTC
Message-ID
<87389kb9fp.fsf@igel.home>
In-Reply-To
<20141115175655.GA27247@odin.ulthar.us>
Scott Schmit <i.grok@comcast.net> writes:
Show 15 quoted lines
> On Sat, Nov 15, 2014 at 06:58:36PM +0300, Konstantin Khomoutov wrote:
>> On Sat, 15 Nov 2014 04:44:19 +0000 (UTC) Ryan Jacobs wrote:
>> > $ git push --all --tags
>> > error: --all and --tags are incompatible
>> > 
>> > Why are these flags incompatible? Just wondering 'cause I think that
>> > it would be a good feature to be able to push all of your branches
>> > and all of your tags to the server in one quick and simple command.
>> 
>>   git push --mirror
>> 
>> should do this.
>
> Except that mirror also deletes anything removed locally.  --all and
> --tags don't.

And --mirror pushes really all refs, including remote-tracking ones, mirroring all ref namespaces as is.

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Scott Schmit
Message 4 of 4 in “git push --all --tags”
  1. Ryan JacobsNov 15, 2014
  2. Konstantin KhomoutovNov 15, 2014
  3. Scott SchmitNov 15, 2014
  4. Andreas SchwabNov 15, 2014

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.