git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Clone a repository with only the objects needed for a single tag
@ 2005-11-02  2:02 Ben Lau
  2005-11-02  7:01 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Lau @ 2005-11-02  2:02 UTC (permalink / raw)
  To: git

Hi,

   Is there any method to clone/copy a repository with only the objects 
needed
for a single tag in order to save disk space?

   For example, if I want to start a new project based on a specific 
version of kernel
like v2.6.14. I would run `git-clone` and then checkout a new branch 
based on the tag.
However, one of the development host is a notebook computer which has 
only 2GB space
leave. Therefore I hope the space occupied by the respository could be 
mininiumized
while it keeps to be able to fetch/update from my master repository.

  Thanks for any advise.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-02  9:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-02  2:02 Clone a repository with only the objects needed for a single tag Ben Lau
2005-11-02  7:01 ` Junio C Hamano
2005-11-02  8:27   ` Ben Lau
2005-11-02  8:49     ` Andreas Ericsson
2005-11-02  9:10       ` Ben Lau
2005-11-02  9:20     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).