Apply a patch using a diff file (filenames must be included in the diff file)

patch

  • Patch a file (or files) with a diff file.
    Note that diff files should be generated by the `diff` command.
    More information: <https://manned.org/patch>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

patch < {{patch.diff}}

click the source code to copy install patch on any operating system with command-not-found.com