6

I would like to know, which files would be written when applying a .patch file with git apply.

Is there a way to apply a .patch file in git with a dry run?

Romain Valeri
  • 19,645
  • 3
  • 36
  • 61
TheDarkTron
  • 304
  • 4
  • 13

1 Answers1

11
git apply --summary path/to/file.patch

would output info without applying the patch.

See in the doc.

Romain Valeri
  • 19,645
  • 3
  • 36
  • 61