I am working on feature branches and need to take the latest code from the development branch into the feature branch.
Earlier I used to do it via git merge but that creates additional merge commits. So I have started using git rebase from source tree.
My understanding is that merge and rebase should cause similar conflicts. But in actual, when I do a merge , the conflicts shown are normal in the way they should be with the content of feature branch proper.
But in case of a rebase, the conflicts are totally different and some code which is not even in the feature branch is shown up as conflicts. If I resolve conflicts this way, it will actually make my file inconsistent. I have tried this multiple times and every time rebase creates conflicts which are not in line with the actual feature branch. Am I missing something conceptually?