Re: Thinning a repository
- From
- Yuri D'Elia <wavexx@thregr.org>
- Date
- Nov 30, 2014, 12:35 UTC
- Message-ID
- <m5f2up$554$1@ger.gmane.org>
- In-Reply-To
- <20141130123400.GG31751@paksenarrion.iveqy.com>
On 11/30/2014 01:34 PM, Fredrik Gustafsson wrote:
Show 6 quoted lines
> On Sun, Nov 30, 2014 at 01:18:34PM +0100, Yuri D'Elia wrote: >> Is there a quick way to reproduce the effect of a shallow clone on a >> local repository that doesn't involve filter-branch and/or re-clone? > > I'm curious, why is it a bad thing to do a re-clone? If you clone your > local repo it would be really fast.
I see no reason to involve the workspace. I would also want to keep the current remote/origin as it is.
I expect a 'thin' command to be faster by not touching the workspace at all.