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

Re: question on alternates

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 24, 2007, 10:05 UTC
Message-ID
<f84iu9$e27$1@sea.gmane.org>
In-Reply-To
<20070724100053.GA18701@mellanox.co.il>
Michael S. Tsirkin wrote:
> Is it possible to add an alternate to .git/objects/info/alternates
> to an existig repository, after the fact?
Yes.
> If I do, is there a way to find and remove objects that
> already exist in the alternate?
I guess "git repack -a -d -l" (or "git gc --prune").
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Michael S. Tsirkin
Message 2 of 2 in “question on alternates”
  1. Michael S. TsirkinJul 24, 2007
  2. Jakub NarebskiJul 24, 2007

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.