git apply patch done properly
Totally agree with the way this has been done.
Getting to know what are the change made
git apply --stat 0001-file.patch
Initiate dry run to detect errors:
git apply --check 0001-file.patch
Finally, to apply patches
git am
to apply your patch as a commit: it allows you to sign off an applied patch.
This can be useful for later reference.
git am --signoff < 0001-file.patch
Comments