Create git patches and apply
- Bilal Malik
- Aug 22, 2019
- 1 min read
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