Trying to figure out how the file1.cpp will look after merging merge request in Gitlab . I(dev1) am working on the dev branch and changed line 2 of file1.cpp, committed and raised merge request . Now, I waited 1 day before merging . By the time another developer(dev2) changed the line 4 of file1.cpp, committed and merged in master . Now, the line 4 is different in my file1.cpp, if compared to file1.cpp from master .So if I merge now my request then how the final version of file1.cpp will look like ?
1) file1.cpp:
line 2 by dev1
...
line 4 by dev2
2) file1.cpp:
line 2 by dev1
...
line 4 by dev1
My doubt is whether line 4 from my will change will be present in final file or line 4 from dev2 will be finally present . If line 4 from dev2 will be finally present , then why it is so ? Because my changes are coming after dev2's changes .