Git Pull is Not Possible, Unmerged Files

后端 未结 8 2071
小蘑菇
小蘑菇 2020-12-07 07:47

I\'ve read all of the similar questions on this; it seems that none of the following have worked:

Delete offending files
git reset --hard HEAD
git stash
git          


        
8条回答
  •  情歌与酒
    2020-12-07 08:08

    Assuming you want to throw away any changes you have, first check the output of git status. For any file that says "unmerged" next to it, run git add . Then follow up with git reset --hard. That will git rid of any local changes except for untracked files.

提交回复
热议问题