Re: Tracking a repository for content instead of history
Show 8 quoted lines
> For interests sake I'd like to track the kernel.org linux repository.
> However, I'm not that bothered about tracking the history - it's more that I
> like to have the latest kernel release lying around.
>
> Is there a way that I could just pull individual commits from a git
> repository? In particular - could I make a repository (obviously not a
> clone, because it wouldn't have all the history) that contained only the
> tagged commits from an upstream repository?
As of beta (in 'next') you can do 'shallow clone'm i.e. clone/fetch
only N commits depth history.
> Is it even sensible to want that? It strikes me that it's possible that there
> isn't that much space/bandwidth saving to be made. Should I just clone the
> repository and shut up? :-)
I've had similar idea: search for "sparse clone" keyword. But no code.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git