symfony bundle as git submodule -
i have 2 symfony2 projects bundles, theses project under git management.
those 2 projects have 1 bundle in common, want make bundle submodule in order merge differences between project , project b.
i'v read this: splitting directory submodule don't understand how works official git page (http://git-scm.com/book/en/git-tools-submodules) refer command : git submodule add
so, how can merge 2 version of commombundle using submodules ? commit projecta or projectb allso commit change submodules ?
everytime commit push shared project (lets call project s) project or project b (the 2 main roots projects project s inside) you'll able merge since there 2 heads or 2 branches.
in order merge you'll have commit/push both projects github (or another) can merge (https://help.github.com/articles/merging-branches) or inside 1 of projects (by pulling changes).
i hope understanded looking for.
Comments
Post a Comment