Understanding diff files and how to use them along with the patch command to patch files. Patching Suckless dwm is used as an example at the end.
Notes:
[out] represents the less than sign.
What is a patch? What is a diff? What is a git diff?
Generating a diff file, generating a diff with git
Patching:
patch -p1 [out] patch.diff
-p refers to the directory level that the file to patch is on
Watch video Linux | Patch Source Files With Diff Files online without registration, duration hours minute second in high quality. This video was added by user knary 29 March 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,166 once and liked it 124 people.