Can't do a git pull

后端 未结 5 1191
再見小時候
再見小時候 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:54

    As it says in the original error message, that file is untracked. That means git doesn't know anything about it. Just remove it from the filesystem using rm. If you care about the contents, just move it somewhere else.

提交回复
热议问题