We have a single repo for an app that has multiple modules/sub-apps (not git submodules), written by multiple people. Each is separated into subfolders:
/topFolderInGit
--/module1SubDir
--/module2SubDir
...
We have two branches under active development, one in production receiving hotfixes/updates, and another that contains some rewrite/more features, under the typical master
and develop
branching model.
Merges from master
into develop
consistently produce conflicts, across multiple modules that some people have never worked on. The ideal would be to allow merging for specific files/subdirectories by one person, so that another person can merge files they are familiar with at a later time.
splitting a merge in git seems close perhaps, but the answer is not specific enough.
Is it possible to selectively merge (or split a merge) so that people don't have to resolve conflicts in one bulk commit? That is, I want to leave the files that aren't merged in their pre-merge state, so someone else can take them later on, which would rule out this answer: https://stackoverflow.com/a/12473774/3879