I have branch A and branch B . I am trying to merge from B to A .
I am on branch A
I run
git merge B
Git merges some stuff. I can see some conflicts and merged files, but there is a file in B which is new (no versions of such file in A) and that file is not taken.
I don't have it in A after merge. Any ideas what am I doing wrong ?
That can have several reasons:
When you try a git merge if the merge fails you have to resolve conflicts and then commit the resolution you did.
If you will not commit the changes will not be reflected in your repository so no changes will be made.
You will see all the changes only after committing them but git status will show them to you as pending changes.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With