Is there a way in git to merge two branches without merging file? In other words just to draw the merge arrow.
Let say I have branches A and B. I need to merge branch B to A, but no need all the changes in B, but rather only need to link to branches together.
git checkout A
git merge B --no need changes
In general is there a way to merge two branches without submodules. I want to keep submodules as it is in Branch A and still need to merge branch B.