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

Fetching a tree from a remote server

From
Daniel Barkalow <barkalow@iabervon.org>
Date
May 4, 2006, 00:41 UTC
Message-ID
<Pine.LNX.4.64.0605032026070.6713@iabervon.org>

Is there something to do the opposite of git clone -n? That is, I want to fill a directory with a treeish ref, and I don't care about any history or bookkeeping. I'm doing automated builds of things stored on a slow machine, so I'd really benefit from not getting the history. As it is, it's only twice as fast as arch, when it really ought to be hundreds of times faster.

Also, git-archimport in 1.2.4 seems to leave master as the initial import, rather than either not having it or having it at the end, which is a bit confusing.

	-Daniel
*This .sig left intentionally blank*
Next: Johannes Schindelin
Message 1 of 3 in “Fetching a tree from a remote server”
  1. Daniel BarkalowMay 4, 2006
  2. Johannes SchindelinMay 4, 2006
  3. Daniel BarkalowMay 4, 2006

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.