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

clone --mirror should be replaced by --mirror=(fetch|push)

From
YDYann Dirson <dirson@bertin.fr>
Date
Jun 10, 2011, 07:12 UTC
Message-ID
<20110610091221.013ebae6@chalon.bertin.fr>

Whereas "git remote add" has depreciated --mirror in favor of --mirror=fetch and --mirror=push, "git clone --mirror", which creates a "fetch mirror", also sets up things in the old "dangerous and useless" (see 0990248) way.

-- 
Yann Dirson - Bertin Technologies
Message 1 of 1 in “clone --mirror should be replaced by --mirror=(fetch|push)”
  1. Yann DirsonJun 10, 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.