Lets think about this scenario: We are a team of 4 developers. We are working in a project that already exists and we need to create new features. For the new feature, no problem. We must to choose who will work on it and after pull updates it will be done smoothly because it will be new files for all developers.
But one of us lets say programmer-1, will only work on some issues inside the code that already exists. So that means he will make changes in his local git and than push to central repository.
Ok, lets say the programmer-1 spent all day and made 100 small changes around 50 files. He added, committed and pushed to the central repository. After that, the programmer-2 will pull all the changes but he will probably have a message like this:
On branch master
You have unmerged paths.
...
...
So the programmer-2 needs to spent a lot of time to pass through all 50 files and choose the programmer-1 changes. Same to programmer-3 and 4.
So, is there a way to set git to accept all changes during the pulling process without asking us to decide what change should we stay with? We will accept the programmer-1 changes every time.
I found this post but it not solved the question properly.