All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Lau <benlau@ust.hk>
To: git@vger.kernel.org
Subject: Clone a repository with only the objects needed for a single tag
Date: Wed, 02 Nov 2005 10:02:47 +0800	[thread overview]
Message-ID: <43681E47.4010203@ust.hk> (raw)

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.

             reply	other threads:[~2005-11-02  2:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02  2:02 Ben Lau [this message]
2005-11-02  7:01 ` Clone a repository with only the objects needed for a single tag 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43681E47.4010203@ust.hk \
    --to=benlau@ust.hk \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.