git - merge conflict when local is deleted but file exists in remote

前端 未结 6 778
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 04:58

I am very new to git and wondered how I should go about a merge where in the local repo I have deleted several files on the master branch but these files exist within the re

6条回答
  •  心在旅途
    2020-11-28 05:32

    In EGit I also found problems. My solution was:

    • Used the Git Staging view.
    • Double clicked on each files shown on unstaged changes to open comparator
    • Click on the "Copy all from left to right" icon
    • Save file (it will disappear from the unstaged list)

提交回复
热议问题