There are three branches:
main-origin
2.004.x_release
615
main-origin - main, 2.004.x_release - created with main-origin, 615 branch created with 2.004.x_release.
The task is simple: get all changes to branches 2.004.x_release in 615. For this, I do
pull main-origin 2.004.x_release Then I see the message:
CONFLICT (content): Merge conflict in b2b/protected/modules/Admin/views/adminPanel/addmodule.php Auto-merging b2b/protected/config/main.php Automatic merge failed; fix conflicts and then commit the result. I eliminate the conflict (by accepting my changes) and push. But the problem is that the files that I received are now shown as if I created them or changed them — that is, they fall into the commit on my behalf. Before the pull command in git status is empty, after I do git pull and eliminate the conflict, a lot of files appear in the git status that are marked as modified / created by me, although I did not.
How to fix it?