List of modified files
Since overflow / merging can take a long time, it is better to avoid unnecessary. There are many ways to see what has changed, depending on what information you need.
If you are interested in understanding which files have been modified, I suggest git-log :
git log [--pretty=<format>] --name-only <common-branch>..<local-branch>
You can use the --pretty option to get the necessary header information; <format> can be a variety of choices, including a custom field string - see the man page for more information.
The --name-only parameter is actually passed before git-diff , so if you donβt like the results per commit, you can go directly to the source:
git diff --name-only <common-branch> <local-branch>
Please note that branches are set differently for two teams.
You can also apply this to upstream changes by changing <local-branch> to <upstream-branch> and getting two file lists. I will leave this for you to figure out how you want to compare them, although the -f grep option may be convenient ...
Manual mergers
Autocracy beat me. If you did some smart processing based on git-log output, you could only edit the commits you saw with overlapping file changes. If you are merged rather than recharged, you should use the --no-commit option.
See also the configuration section of the git-merge man page. You might want to set merge.conflictstyle to diff3 so that you can see the source text as well as the changes on both sides.
If you are really desperate to suppress all attempts to automatically resolve conflicts, I believe that you can connect a dummy mergetool (via merge.tool and mergetool.cmd) that does nothing and returns a failure.
Having said all this, I also have to say that in my experience with git merges, I have seen a lot of conflicts, but I cannot recall a single incorrect automatic merge. I personally trust him to merge. Check on it after really should be a lot.