git branch - GIT - how to merge branches? -


We have decided to use GIT in our company but now there is a problem .. We have many features with many The branches are now what we need to do is combine the branches and put them in the master. How can we do this with autoreply - we have Branch-A, Branch-B, Branch-C - we have to keep them all in the master but in case of repeated files, Branch-B Major and Branch-C-minor should be there.

Update:

 Branch-A: -file1 -file2 -file3 -file4  


 Branch- B: -file1 -file5 -file6  


 branch-c: -file1 -file2 -file7 -file8  

We need the result: <-file1 (b) -file2 (to) -file3 (to) -file4 (a) -file5 (b) -file6 (to b) -file7 (c) -file8 (from c)

Merge an octopus and do not commit - 'no commitment'. Master from

  GIT Merge - No-Loss Branch - A Branch-B Branch-C   

Resolve any conflict, if you want to , Then a specific version of the file and commit:

  git checkout branch -b - file3   

repeat for other specific files.

  Add git  

< / P>



Comments