error: Your local changes to the following files would be overwritten by merge: 文件 Please commit your changes or stash them before you can merge. error: The following untracked working tree files would be overwritten by merge: 文件 Please move or remove them before you can merge. Aborting
只要解决了这些 untracked 的文件就能解决这个问题。 经过命令行,你直接执行 git clean -d -fx
便可 其中git
x -----删除忽略文件已经对git来讲不识别的文件 d -----删除未被添加到git的路径中的文件 f -----强制运行