解决git冲突造成的Please move or remove them before you can merge
git clean -d -fx ""
其中
x -----删除忽略文件已经对git来说不识别的文件
d -----删除未被添加到git的路径中的文件
f -----强制运行
转自https://blog.youkuaiyun.com/bolg_hero/article/details/50933411
本文介绍了解决Git中因冲突导致的“Please move or remove them before you can merge”错误的方法,通过使用git clean命令的特定参数来清理工作目录,包括删除未被git跟踪的文件和忽略的文件。
解决git冲突造成的Please move or remove them before you can merge
git clean -d -fx ""
其中
x -----删除忽略文件已经对git来说不识别的文件
d -----删除未被添加到git的路径中的文件
f -----强制运行
转自https://blog.youkuaiyun.com/bolg_hero/article/details/50933411

被折叠的 条评论
为什么被折叠?