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

Re: Is there a way to control the number of revisions will be saved by git

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 3, 2008, 13:40 UTC
Message-ID
<20081203134036.GR19355@genesis.frugalware.org>
In-Reply-To
<m3ljuxifer.fsf@localhost.localdomain>
On Wed, Dec 03, 2008 at 04:58:40AM -0800, Jakub Narebski <jnareb@gmail.com> wrote:
Show 6 quoted lines
> Or just use shallow clone
> 
>   git clone --depth <depth> <repository>
> 
> to have new copy (clone) of <repository> to have only <depth> commits
> back.  See man git-commit; but it might be not what you want.
You mean man git-clone?
This trick can be used only once, since you can't clone a shallow clone.
Previous: Jakub NarebskiNext: Arafangion
Message 4 of 9 in “Is there a way to control the number of revisions will be saved by git”
  1. Tzury Bar YochayDec 3, 2008
  2. Johannes SixtDec 3, 2008
  3. Jakub NarebskiDec 3, 2008
  4. Miklos VajnaDec 3, 2008
  5. ArafangionDec 3, 2008
  6. Jean-Luc HerrenDec 3, 2008
  7. Tzury Bar YochayDec 3, 2008
  8. Tzury Bar YochayDec 3, 2008
  9. Tzury Bar YochayDec 3, 2008

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.