git pull报错: The following untracked working tree files would be overwritten by merge 解决方案

问题描述:

在git中利用pull拉取远程仓库文件时报错:

error: The following untracked working tree files would be overwritten by merge:


最终解决方式:

$git fetch origin

$git clean -f

$git reset --hard origin/master

你可能感兴趣的:(git pull报错: The following untracked working tree files would be overwritten by merge 解决方案)