i am looking for a merge strategy which allows me to choose both changes from my branch as well as the incoming changes.
Tried searching through different threads but could not figure out how to do this.
So i have multiple branches in my repo. I need to merge every branch to local master and then to remote pending approval from code reviewer. To achieve this I do a rebase from master first and then a fast forward merge into master, the standard workflow. the code consists of mostly config files and these multiple branches have code changes at very same place (like adding of a new parameter) these parameters are never same but are at same location. git triggers them as conflicts but all I wanted it to do is just select both my changes in the branch as well as those coming in from master during rebase. I know the risks involved but i have a validation script which can detect duplicates and alert me on anomalies.
So ultimate goal is to script these merges and intervene only if the validation script fails.
thanks for the replies