java - How do I break down a large merge with conflicts into more manageable chunks? -


I maintain a large GIT repository with 50,000 files in it. The main line development branch is called "development". I have a branch called "feature" which is working almost independently for about 5 months, due to the complexity of work it is not possible to merge with "development", but Now it is close to completion, it wants to re-sync with "development".

Usually this means that "in the original / evolved" feature "fix", fix conflict, test, commit, and push but there is a large number of disputes in this merge point. That ~ 4000 changes in mergers and ~ 450 unused changes Some of these conflicts are quite trivial (eg, giltinger files and so forth) but many concrete rewrites and difficult to solve

In addition, these conflicts have been crossed over different software domains. Developers of each domain must resolve the conflicts in their own areas. It will take several days for at least a concerted effort to remove and commit the struggle.

Is there any way to break it down so that the owners of the domain can merge their disputes in parallel, point? Is there something in the form of a partial committed merger where I share the merged content and I am not in the balance?

My main idea is that "feature" can merge with some intermediate tags within "development", e.g. We have the release tags of "A", "B", "C", "D" in the last 5 months. So if they merge "a" and then "b" and so on, then each merger will become less complicated, although there may be more conflicts at all.

Any other things that I can try?

Your idea of ​​merging intermediate tags is probably the best you can get. Or more), but for the most part they should be small, and therefore it is easy to merges.

However ... If the problem is that you have to re-write heavy opposition due to bulk, there is a little chance of an easy conflict solution. Even if merged at a time (e.g., git imerge approach) can not handle heavy rewrites.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -