Re: Merging (only) subdirectories

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

 



> Another option could be completely splitting off the themes to
> their own branches (eg. using git-filter-branch), check them
> out in an separate workdir and use unionfs to get a combined/merged
> view of the working trees.
>
> So, you'd actually have to fully separate branches, checked out
> in their own worktrees/repos:
>
> a) mainapp (the main application)
> b) theme (the current theme you're working on)
>
> For testing/runtime, the webserver gets a union'ed tree,
> which just merges both namespaces (from host filesystems's, not
> git's view) together. Your actual development happens in the theme
> repo only.
>
>
> On actual deployment (if you're using git here, too), you can simply
> merge both branches together (will be just an passive - aka:
> merge-down-only - branch).

Ok... thanks for that. I'll have a look at that as well.

This type of thing was actually the one thing I can think of that
cvs/svn made easy as they keep the repo info in each directory :)  (Do
I get thrown out for saying that?)
--
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]