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

Re: Feature wish: Cloning without history

From
Jakub Narebski <jnareb@gmail.com>
Date
May 18, 2006, 19:35 UTC
Message-ID
<e4ii8u$p7j$1@sea.gmane.org>
In-Reply-To
<20060518192144.15912.qmail@web25913.mail.ukl.yahoo.com>
Sven Ekman wrote:
Show 6 quoted lines
> Would it be possible to add an option to git-clone to
> skip the complete history? The result should be a
> repository which contains the current head only (or
> maybe a specified tag) and has that commit id added to
> .git/info/grafts. For the fetch process, this would
> certainly have to imply the --no-tags flag.
It is certainly reccuring request.
Check for "shallow clone" in git mailing list archives.
-- 
Jakub Narebski
Warsaw, Poland
Previous: Sven EkmanNext: Junio C Hamano
Message 2 of 7 in “Feature wish: Cloning without history”
  1. Sven EkmanMay 18, 2006
  2. Jakub NarebskiMay 18, 2006
  3. built-in tar-tree and remote tar-treeJunio C Hamano, May 19, 2006
  4. Junio C HamanoMay 19, 2006
  5. Sven EkmanMay 19, 2006
  6. Jakub NarebskiMay 19, 2006
  7. Junio C HamanoMay 19, 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.