# create diff file diff old_file new_file > changes.diff diff -u old_file new_file > changes.diff # with additional context # apply diff file patch file_to_patch < changes.diff
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter