All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Konstantin Khomoutov <flatworm@users.sourceforge.net>
Cc: Ryan Jacobs <ryan.mjacobs@gmail.com>, git@vger.kernel.org
Subject: Re: git push --all --tags
Date: Sat, 15 Nov 2014 19:33:30 +0100	[thread overview]
Message-ID: <87389kb9fp.fsf@igel.home> (raw)
In-Reply-To: <20141115175655.GA27247@odin.ulthar.us> (Scott Schmit's message of "Sat, 15 Nov 2014 12:56:55 -0500")

Scott Schmit <i.grok@comcast.net> writes:

> 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."

      reply	other threads:[~2014-11-15 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-15  4:44 git push --all --tags Ryan Jacobs
2014-11-15 15:58 ` Konstantin Khomoutov
2014-11-15 17:56   ` Scott Schmit
2014-11-15 18:33     ` Andreas Schwab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87389kb9fp.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=flatworm@users.sourceforge.net \
    --cc=git@vger.kernel.org \
    --cc=ryan.mjacobs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.