Git Pull is Not Possible, Unmerged Files

后端 未结 8 2093
小蘑菇
小蘑菇 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:27

    Solved, using the following command set:

    git reset --hard
    git pull --rebase
    git rebase --skip
    git pull
    

    The trick is to rebase the changes... We had some trouble rebasing one trivial commit, and so we simply skipped it using git rebase --skip (after having copied the files).

提交回复
热议问题