How to resolve git status “Unmerged paths:”?

后端 未结 2 1000
轻奢々
轻奢々 2020-12-12 14:52

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

Unmerged paths:
(use "git reset HEAD ..         


        
2条回答
  •  没有蜡笔的小新
    2020-12-12 15:24

    All you should need to do is:

    # if the file in the right place isn't already committed:
    git add 
    
    # remove the "both deleted" file from the index:
    git rm --cached ../public/images/originals/dog.ai
    
    # commit the merge:
    git commit
    

提交回复
热议问题