Linux | Patch Source Files With Diff Files

Опубликовано: 29 Март 2019
на канале: knary
6,166
124

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


Смотрите видео Linux | Patch Source Files With Diff Files онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь knary 29 Март 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,166 раз и оно понравилось 124 людям.