Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git-svn: is there a way to get it to play nice with submodules, or ignore them?

once you have a commit that contains a submodule object, you pretty much cannot get git-svn to commit past it.

Any ideas, workarounds, anything that is not "don't use submodules with git-svn"?

So far the answer seems to be a big NO.

Is there any way to at least allow existing git commits containing submodule data to be committed to svn without the submodule data? Even if it means rewriting the tree.

like image 909
kch Avatar asked Nov 14 '22 16:11

kch


1 Answers

You'll need to replace the submodules with the svn:externals property to play nice with Subversion.

svn propset svn:externals [...]

I don't think there's any other way round it.

like image 147
Aupajo Avatar answered Dec 04 '22 07:12

Aupajo