Consider the following scenario:
- a
topic
branch started with commit A - at commit B on
topic
branch, a utility script file was created - since commit B, that file has been revised by multiple commits to
topic
- I decided that its final form developed in
topic
will be useful for themaster
branch - when rebasing
topic
onmaster
, I want to avoid multiple conflicts involving all the edits to this file that happened between commit B andtopic
's head; I want to express the following intention: "Hey git, whenever you see a conflict involving this file during rebasingtopic
ontomaster
, automatically resolve it by using the version frommaster
"
How do I?