git pull origin master 时提示错误
$ git pull origin master
error: The following untracked working tree files would be overwritten by merge:
qd/node_modules/@floating-ui/core/LICENSE
qd/node_modules/@floating-ui/core/README.md
please move or remove them before you merge.
解决方法:文章来源:https://www.toymoban.com/news/detail-857636.html
git clean -d -fx "qd/node_modules/@floating-ui/core/LICENSE"
命令:
x-----删除忽略文件已经对git来说不识别的文件
d -----删除未被添加到git的路径中的文件
f -----强制运行文章来源地址https://www.toymoban.com/news/detail-857636.html
到了这里,关于git pull 报错 error: The following untracked working tree files would be overwritten by merge 解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!