当前位置: 代码迷 >> 综合 >> git 报错:The following untracked working tree files would be overwritten by merge: XXXXX
  详细解决方案

git 报错:The following untracked working tree files would be overwritten by merge: XXXXX

热度:81   发布时间:2023-12-12 00:48:53.0

场景

使用 git pull 命令更新报错


Updating d652d1c..fa05549 error: The following untracked working tree files would be overwritten by merge:<your file>Please move or remove them before you can merge. Aborting

解决

使用 git clean -d -fx 命令即可。

  相关解决方案