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

managing git submodules with git-svn

From
RMRick Moynihan <rick@calicojack.co.uk>
Date
Aug 20, 2008, 09:35 UTC
Message-ID
<48ABE568.80106@calicojack.co.uk>
Hi all,

We are currently using a mixture of git and svn to manage a project with an array of subprojects. We use git primarily for its excellent branching and merging support, and as a means of more effectively managing commits etc... We're not yet ready to make the leap entirely to git and find subversion still has a role, primarily due to some 3rd party upstream (e.g. Apache) projects using svn. SVN is also better supported by some of our tools/systems.

Our project is made up of a number of subprojects, and I'd like to use git submodules to easily track and lock changes in component versions. git submodules appear to do exactly this, versioning the meta-repo with each subproject locked at a specific commit/SHA-1.

My question is; is there anyway to easily do this but have git use git-svn manage the submodule? I think this makes sense and suspect it would be possible to do, though it looks like it's currently not a feature. Is this a feature anyone else would find useful?

Thanks again,
R.
Next: Andreas Ericsson
Message 1 of 2 in “managing git submodules with git-svn”
  1. Rick MoynihanAug 20, 2008
  2. Andreas EricssonAug 20, 2008

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.