Create git patches and apply

First, modify the file you want, then use the below command to generate the patch file

git diff --ignore-space-at-eol -b -w filename_that_contains_changes > patch_name.patch

After that use the below command to apply the patch

git apply patch_name.patch

I hope it helps

About Bilal

I'm a software programmer, I handle Magento2 modifications at any level.

View all posts by Bilal →

Leave a Reply

Your email address will not be published. Required fields are marked *