You can combine βone commit at a time,β but it would create a merge commit for each commit on another branch, which is quite heavy.
To do this, just look where you diverged from master, and in the branch, masterenter git merge <commit_id>for each commit, starting with this.
Otherwise, just resolve the big conflicts once and for all, and everyone who reads your commit history will be grateful to you.
A good way to solve this problem in this function would be to merge the regulator in your function branch.
source
share