Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

git unmerged paths issue

Asked by Anil Mer Jul 6, 2021 980 views 1 answer
Share

About this question

 I merged branch dog into animal. When I go to commit, I get the following:

Unmerged paths:
(use "git reset HEAD ..." to unstage)
(use "git add ..." to mark resolution
both deleted:       ../public/images/originals/dog.ai
added by them:      ../public/images/original_files/dog.ai

To make a long story short, I had different directory names and file names in each branch. Animal branch has the changes that I want.

When I go to reset the head, it doesn't work. And when I go to take any other git action (remove, checkout, etc), I get a path not found error.

What commands do I need to execute? 

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.