* git push --all --tags
@ 2014-11-15 4:44 Ryan Jacobs
2014-11-15 15:58 ` Konstantin Khomoutov
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Jacobs @ 2014-11-15 4:44 UTC (permalink / raw)
To: git
$ 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git push --all --tags
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
0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Khomoutov @ 2014-11-15 15:58 UTC (permalink / raw)
To: Ryan Jacobs; +Cc: git
On Sat, 15 Nov 2014 04:44:19 +0000 (UTC)
Ryan Jacobs <ryan.mjacobs@gmail.com> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git push --all --tags
2014-11-15 15:58 ` Konstantin Khomoutov
@ 2014-11-15 17:56 ` Scott Schmit
2014-11-15 18:33 ` Andreas Schwab
0 siblings, 1 reply; 4+ messages in thread
From: Scott Schmit @ 2014-11-15 17:56 UTC (permalink / raw)
To: Konstantin Khomoutov; +Cc: Ryan Jacobs, git
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]
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.
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3891 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git push --all --tags
2014-11-15 17:56 ` Scott Schmit
@ 2014-11-15 18:33 ` Andreas Schwab
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2014-11-15 18:33 UTC (permalink / raw)
To: Konstantin Khomoutov; +Cc: Ryan Jacobs, git
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."
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-15 18:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.