We're working on a big project here at work with feature "bundles" (EDIT: "bundle" is just a term we use internally to refer to a specific functionality package, and isn't meant as a git term) spread out into several different git repositories. I'm getting ready to send a batch of changes upstream for review and testing, but I've run into a snag trying to get everything to play together nicely.
What I've done so far is clone
from the repo containing the code bundle into my main project, which works insofar as it gets the files where they need to go. However, when I go to add/commit
and push
, the files from the "bundle" repo won't go with it, presumably because they are part of a different git repository than the one I'm pushing from.
It's not really a viable option to ask all the other developers on the team to pull in my "bundle" every time it changes (especially since it's still somewhat early in the dev cycle and sees a lot of revisions and refactoring), and I don't really want to copy the files by hand every time I need to send them up, either. Preferably, I'd be able to set things up so that I could pull from my "bundle" repo into my main repo, then push the changes as a whole.
Is there a way to do what I'm looking for with git?