fatal: git-write-tree: error building trees

前端 未结 6 1232
面向向阳花
面向向阳花 2020-12-12 09:55

I did a git pull from a shared git repository, but something went really wrong, after I tried a git revert. Here is the situation now:



        
6条回答
  •  旧巷少年郎
    2020-12-12 10:21

    This happened for me when I was trying to stash my changes, but then my changes had conflicts with my branch's current state.

    So I did git reset --mixed and then resolved the git conflict and stashed again.

提交回复
热议问题