Fullscreen
Loading...
 
Imprimir Comparte esta página

diff patch

  • To create the patch for file1 from the modified file2
    $ diff -u file1 file2 > changes.patch
  • To apply the patch to the original file1:
    $ patch file1 < changes.patch