git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Subdividing an existing Repository

From
DCDavid A Cobb <superbiskit@cox.net>
Date
Sep 8, 2015, 00:29 UTC
Message-ID
<55EE2BD3.1060300@cox.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

Message 1 of 1 in “Subdividing an existing Repository”
  1. David A CobbSep 8, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.