其他分享
首页 > 其他分享> > error:The following untracked working tree files would be overwritten by merg

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

作者:互联网

昨天遇到一个git的提示:error:The following untracked working tree files would be overwritten by merge,操作的目的是想把分支的程序合并到test分支中,merge不成功.

操作顺序如下:

于是就上网查怎么解决,最后查到了命令行:git clean -fd,作用是:删除没有git add 的文件 ,执行之后解决了 error: The following untracked working tree files would be overwritten by …的问题。

 

标签:files,overwritten,git,would,tree,untracked
来源: https://www.cnblogs.com/xiaofeilin/p/15726865.html