threads / discuss / 9195

question on alternates

Subject: question on alternates

## tl;dr

2 messages between Jul 24, 2007 and Jul 24, 2007.

replies: 1people: 2as markdown or json

Michael S. Tsirkin· Jul 24, 2007, 10:00 UTC · lore

Is it possible to add an alternate to .git/objects/info/alternates to an existig repository, after the fact? If I do, is there a way to find and remove objects that already exist in the alternate?

Thanks,
-- 
MST
Jakub Narebski· Jul 24, 2007, 10:05 UTC · re: Michael S. Tsirkin · lore

Re: question on alternates

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

← back to recent threads