2

我想知道,使用 git apply 应用 .patch 文件时会写入哪些文件。

有没有办法通过空运行在 git 中应用 .patch 文件?

4

1 回答 1

6
git apply --summary path/to/patch

将在不应用补丁的情况下输出信息。

文档

于 2020-02-13T16:57:53.280 回答