Pulling in code with submodules #1381
-
Hi, We're looking at Our intent right now is to incorporate a separate repo into our main repo, preserving history and being able to contribute changes upstream. However, this repository has submodules itself. My first attempt to incorporate the repo failed, because the submodules were broken (because the submodule references were in My thought was just adding the contents of I thought about doing text replacement filters, but this seems to be a bit dangerous. Thoughts? Álex Footnotes
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have been doing tests that look like:
, that is, in the merge commit I also modify This seems to work and does not break further invocations of |
Beta Was this translation helpful? Give feedback.
I have been doing tests that look like:
, that is, in the merge commit I also modify
.gitmodules
, appending the external repo's.gitmodules
, adjusting the paths (hey, it's a kind of a merge conflict, right?).This seems to work and does not break further invocations of
josh-filter
.