Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用 p4Merge 解决了一个冲突。它起作用了,文件现在有更新的文本。然而,在文件夹中有一堆垃圾,比如......
我如何确保我的合并工具在之后清理这些文件?
git clean应该可以解决问题。
git clean -f
这将删除以删除存储库中所有未跟踪的文件,因此请注意无意中删除其他文件。如果合并备份是您唯一未跟踪的文件,请前往城镇。:)