У меня есть 2 ветки, master
и newfeature
. Когда я хочу объединить newfeature
в master
, я использовал:
git checkout master
git merge newfeature
Я получаю сообщение об ошибке:
Auto-merging .gitignore
CONFLICT (content): Merge conflict in .gitignore
Automatic merge failed; fix conflicts and then commit the result.
Я открыл .gitignore
, и теперь он выглядит как беспорядок с последней частью файла, похожей на
<<<<<<< HEAD
public/img/ignore
=======
public/img/profiles
public/blog
public/recommendation
>>>>>>> newfeature
Что случилось, и как это должно быть исправлено, чтобы я мог объединить ветвь в master
?