zl程序教程

您现在的位置是:首页 >  其他

当前栏目

git Please move or remove them before you can merge

2023-04-18 14:05:53 时间

转载请注明出处:

  在git pull时报错:

error: The following untracked working tree files would be overwritten by merge:
fucdn-test/.gitignore
Please move or remove them before you merge.

解决办法如下:

  

使用以下命令即可:

git clean  -d  -fx ""
d  -----删除未被添加到git的路径中的文件
f  -----强制运行
x  -----删除忽略文件已经对git来说不识别的文件