Wpis z mikrobloga

#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ć?
  • 7
  • Odpowiedz
@LuK1337:
On 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 yours)

You have unmerged paths.
(fix conflicts and run "git commit")

Changes to be committed:

modified: zupelnieNiepotrzebnyPlik.pro.user

Unmerged paths:
(use "git add ..." to mark resolution)

both modified: mapwindow.cpp

Changes not staged for commit:
(use "git add ..." to update what will be
  • Odpowiedz