After your commit, you will do Push and create the merge request, if there is a conflict:
Group that has a chief of architecture (or someone who manages the
project) this person will be responsible for resolving conflicts.
Group with independent developers, after merge request and exist
conflict, each developer needs to resolve conflicts individually.
Example:
First pull in the latest version of the master and then go back to your branch.
git merge origin Master
correct conflicts ...
<<<<<<< HEAD
public void exemplo() {
}
=======
public void exemplo(string teste) { ...
}
>>>>>>> origin/<remotebranch>
You need to remove what will not be used.
This part comes from the Master:
<<<<<<< HEAD
public void exemplo() {
}
=======
and this part comes from your branch
=======
public void exemplo(string teste) { ...
}
>>>>>>> origin/<remotebranch>
After editing, commit and push again.