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

19 views0 comments

Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2020 by Bilal Usean. Proudly created with