Always use version from merged branch on conflicts
Currently I am working in a feature branch that will soon be merged back into master. I recently tried just that and had some merge conflicts, which I had to fix manually. So, is it possible to tell git to always use the version from the merged branch in order to avoid merge conflicts beforehand? In this case I fixed the conflicts manually but always chose the version from the merged branch, so this would save me some tedious work. You can do exactly this in git with the following command, assuming that feature is the name of your feature branch: git merge -s recursive -X theirs feature This