git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can you git clone -partial? I am looking to make a mobile app and it would be nice to have.
@ 2014-10-01 16:51 James Hancock
  2014-10-01 17:38 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: James Hancock @ 2014-10-01 16:51 UTC (permalink / raw)
  To: git@vger.kernel.org

i am thinking about developing an app and I want to integrate it with
git but I only want to store a portion of the file on disk. It is
going to be in a mobile enviornment and I want to just get one file or
a small group of files.

I read that you can clone and then only look at one peice but is it
possible just to clone one peice? And if not what would it take? Maybe
this is a feature people would like to have. Just hypothetically, what
would need to happen?

Either
git clonepartial /repo /file/or/folder/in/repo
Or
Git clone -partial /repo /file/or/folder/in/repo

I guess you would need to keep the projects .git in order to maintain
consistency, or would you? I'm going to do some more research about
what .git does exactly.

Cheers,
James

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

end of thread, other threads:[~2014-10-01 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01 16:51 Can you git clone -partial? I am looking to make a mobile app and it would be nice to have James Hancock
2014-10-01 17:38 ` Junio C Hamano
2014-10-01 21:32   ` James Hancock

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).