Skip to content

Instantly share code, notes, and snippets.

@robdecker
Last active June 18, 2020 22:49
Show Gist options
  • Save robdecker/67db35122687a1be0f87 to your computer and use it in GitHub Desktop.
Save robdecker/67db35122687a1be0f87 to your computer and use it in GitHub Desktop.
[Patch procedures] #sh #d8 #d7

Applying

Print the results of applying the patch without actually making any changes:

$ patch -p1 --dry-run < fix_scary_module.patch

Apply the patch:

$ patch -p1 < fix_scary_module.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment