git pull报error: Untracked working tree file 'public/images/icon.gif' would be overwritten by
Posted 我的大刀早已饥渴难耐
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git pull报error: Untracked working tree file 'public/images/icon.gif' would be overwritten by相关的知识,希望对你有一定的参考价值。
error: Untracked working tree file ‘public/images/icon.gif‘ would be overwritten by merge.
需要执行下面的命令才能修复:
git reset --hard HEAD
git clean -f -d
git pull
以上是关于git pull报error: Untracked working tree file 'public/images/icon.gif' would be overwritten by的主要内容,如果未能解决你的问题,请参考以下文章