Can't do a git pull

后端 未结 5 1190
再見小時候
再見小時候 2021-01-31 07:11

I\'m trying to do a git pull and get the error message:

error: The following untracked working tree files would be overwritten by merge:


        
5条回答
  •  Happy的楠姐
    2021-01-31 07:43

    You have untracked files in the way of the pull. You can't remove them with git rm --cached because they are untracked. They don't appear in the index. You need to remove them with plain old rm

提交回复
热议问题