A
A
aris-paskalov2022-04-06 09:17:13
git
aris-paskalov, 2022-04-06 09:17:13

Why do modified files have a modified status after git pull?

On the remote we have a develop branch
And on the local I have a branch with a feature

Since the changes that I need on the branch with my feature have occurred on develop, I decided to pull them to myself:

git checkout "branch with a feature"
git pull origin develop

After that, all the changes pulled up, I fixed 2 conflicts and everything seems to be fine.
But when I wrote git status, I saw that all the files that were pulled up from the development, for some reason, had the modified status...

Although the file changes should have just been pulled up, and not displayed in this way in the git status

624d306055254010161653.png

. Can I somehow fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kuznetsov, 2022-04-06
@aris-paskalov

And after resolving the conflicts, did you complete the failed pull? The changes were then pulled into the working directory, but it would be necessary to fix the merge commit itself.
Something like:
git merge --continue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question