top of page

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

Comments


Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

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

bottom of page