
#programowanie #naukaprogramowania #git
Popsuł mi się plik na kompie, więc chciałem go wywalić i pobrać z gita, a w międzyczasie edytował go ktoś inny. Teraz jak chcę zrobić git pull, to konsola pokazuje mi:
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm '
as appropriate to mark resolution, or use 'git commit -a'.
Jak to naprawić?
Popsuł mi się plik na kompie, więc chciałem go wywalić i pobrać z gita, a w międzyczasie edytował go ktoś inny. Teraz jak chcę zrobić git pull, to konsola pokazuje mi:
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm '
as appropriate to mark resolution, or use 'git commit -a'.
Jak to naprawić?
- Najlepsze
- Wszystkie komentarze







git reset --hard; git pullgit statusOn branch master
Your branch and 'origin/master' have diverged,
and have 1 and 1 different commit each, respectively.
(use "git pull" to merge the remote branch into