Apply Drupal Patch

Apply Drupal Patch

On VPS patch is available so in the case of the Devel module I cd to balnu@balnu.com [~/public_html/eight/modules/devel] and with the patch file in there I:

balnu@balnu.com [~/public_html/eight/modules/devel]# patch -p1 < generated_nodes_not-2345669-1.patch
patching file devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php

For local XAMPP I use Git bash and cd to documents/my webs/alpha8/modules/devel and could use either git apply -index generated_nodes_not-2345669-1.patch or patch -p1 < generated_nodes_not-2345669-1.patch