Skip to contentSkip to conversation

Subdividing an existing Repository

DISCUSSION David A Cobb 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Several Repositories I'm interested in, e.g. MINGW-PACKAGES@GITHUB, contain multiple "products." Usually, I'm only interested in one or two.
I want to have a local repo with, e.g. iodbc from MinGW-Packages as sub-moules. I don't even need to keep local content for many of the other included products. But, I need to keep synchronized with the upstream, so I don't want to destroy the meta-data that allows me to do that.

It's not certain at this point that I will ever be invited to push what I have done up the food chain. Maybe it will always be a private fork.

I've looked at Subtrees and Submodules in the ProGit book. I can see how to use an existing submodule, but not how to isolate one out of a larger body of code.

TIA

begin:vcard
fn:David A Cobb
n:Cobb;David A
email;internet:[email protected]
x-mozilla-html:TRUE
version:2.1
end:vcard