更新代码后显示: the following untracked working tree files would be overwritten by checkout
2条回答 默认 最新
- raymond27 2023-08-01 15:54关注
问题原因:
本地代码仓库目录下有untracked文件
解决方法:
如果没有需要上库的代码,直接执行 git clean -d -fx删除untracked文件本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
更新代码后显示: the following untracked working tree files would be overwritten by checkout
问题原因:
本地代码仓库目录下有untracked文件
解决方法:
如果没有需要上库的代码,直接执行 git clean -d -fx删除untracked文件