multiple-repositories

Is it possible to manage multiple repositories coherently?

拈花ヽ惹草 提交于 2019-11-30 19:04:09
I have a collection of git repositories that are independently versioned but related to one another. For example, when adding a feature I may have to add functionality to a shared library, and then extend an application or service to take advantage of that functionality. Currently, I would have to create a branch on each of the repositories that I touch while working on that feature. What I would like to do, however, is to simplify the process by branching and merging those multiple repositories at once (to reduce the likelihood of forgetting to branch, or committing/merging in one repository

How do I work with a git repository within another repository?

情到浓时终转凉″ 提交于 2019-11-26 03:27:16
问题 I have a Git media repository where I\'m keeping all of my JavaScript and CSS master files and scripts that I\'ll use on various projects. If I create a new project that\'s in its own Git repository, how do I use JavaScript files from my media repository in my new project in a way that makes it so I don\'t have to update both copies of the script when I make changes? 回答1: The key is git submodules . Start reading the Submodules chapter of the Git Community Book or of the Users Manual Say you