I just had to do something similar and was able to fix it by adding --squash to the merge command
git merge --no-commit --squash branchA
git reset HEAD # to unstage the changes
I just had to do something similar and was able to fix it by adding --squash to the merge command
git merge --no-commit --squash branchA
git reset HEAD # to unstage the changes