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.
我想知道,使用 git apply 应用 .patch 文件时会写入哪些文件。
有没有办法通过空运行在 git 中应用 .patch 文件?
git apply --summary path/to/patch
将在不应用补丁的情况下输出信息。
见文档。