Re: Partial clone/pull?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 20, 2010 at 6:15 PM, Dread Quixadhal <quixadhal@xxxxxxxxx> wrote:
> I'm having some trouble figuring out how to do this.  I assumed I'd create a
> new repository and then use git pull to merge the directories I want in my
> distribution repository.  I can't seem to find a way to specify what files I
> want though.
>
> Let's say I had a repository called stuff, with directories a, b, and c.  I
> want to make a distribution repository containing just a and b, but with
> full histories so a "git pull" will sync from the stuff repository, but
> ignore the "c" directory.

This is not a particularly easy thing to do in git.  git-subtree is a
partial solution:
http://github.com/apenwarr/git-subtree

Have fun,

Avery
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]