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

Pushing with --mirror over HTTP?

From
Eli Barzilay <eli@barzilay.org>
Date
Sep 5, 2011, 04:05 UTC
Message-ID
<20068.19089.303108.950233@winooski.ccs.neu.edu>

Is there anything broken with pushing with mirror over HTTP? I'm trying that with a github url, and I get a broken-looking error message:

  remote part of refspec is not a valid name in :.have
and with the google code, I get:
  error: unable to push to unqualified destination: HEAD
Pushing to both of these work fine without `--mirror'.
(BTW, as a workaround, I'm using
  push --force --tags <url> :
is this achieving the same effect for a repo without weird refs?)
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
Next: Jeff King
Message 1 of 4 in “Pushing with --mirror over HTTP?”
  1. Eli BarzilaySep 5, 2011
  2. Jeff KingSep 7, 2011
  3. Eli BarzilaySep 8, 2011
  4. Jeff KingDec 19, 2011

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.