Answer the question
In order to leave comments, you need to log in
How to resolve a conflict in git?
The bottom line is, my friend and I made changes, as a result, our branches (I hope I said it right) became so different that when merging (the "get" button)
it gives an error. replaced it with my version
Answer the question
In order to leave comments, you need to log in
It would be necessary for a friend to completely erase everything that he did and replace it with my version
git fetch origin # -- получить содержимое удалённого репозитория origin, но не мёржить в текущую ветку.
git reset --hard origin/master # -- установить текущую ветку в состояние ветки master из удалённого репозитория origin.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question