# Subdividing an existing Repository

1 messages from 2015-09-08 to 2015-09-08. Participants: David A Cobb.
Thread: https://gitlist.dev/t/40297

## David A Cobb, 2015-09-08 00:29

Subject: Subdividing an existing Repository
Message-ID: <55EE2BD3.1060300@cox.net>
URL: https://gitlist.dev/e/55EE2BD3.1060300%40cox.net

```
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:superbiskit@cox.net
x-mozilla-html:TRUE
version:2.1
end:vcard


```
