How to apply a patch generated with git format-patch?
Note: You can first preview what your patch will do: First the stats: git apply –stat a_file.patch Then a dry run to detect errors: git apply –check a_file.patch Finally, you can use git am to apply your patch as a commit. This also allows you to sign off an applied patch. This can be useful … Read more