• Bilal Malik

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

9 views

©2020 by Bilal Usean. Proudly created with Wix.com