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

Re: Pushing everything

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Oct 31, 2010, 09:48 UTC
Message-ID
<m28w1epu9o.fsf@whitebox.home>
In-Reply-To
<AANLkTikG5yTPwkjmnSv8yg2QRNNjDu_JxBdHzLBjO1RP@mail.gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
Show 8 quoted lines
> On Sun, Oct 31, 2010 at 1:47 PM, Maaartin <grajcar1@seznam.cz> wrote:
>> I'd like to push all my branches and tags to the server, but for whatever reason
>> "--all" ignores tags and is incompatible with "--tags". I could imagine there's
>> a reason I'm not experienced enough to see?
>
> You can spell the refs explicitly, like this:
>
>   $ git push refs/heads/* refs/tags/*

The first argument needs to be a reference to a repository, so insert an origin here.

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: Tay Ray ChuanNext: Maaartin
Message 3 of 6 in “Pushing everything”
  1. MaaartinOct 31, 2010
  2. Tay Ray ChuanOct 31, 2010
  3. Andreas SchwabOct 31, 2010
  4. MaaartinOct 31, 2010
  5. Mathias LafeldtOct 31, 2010
  6. Konstantin KhomoutovOct 31, 2010

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.