首页 > 系统 > Linux > 正文

Linux create patch, apply and revert

2024-06-28 16:01:12
字体:
来源:转载
供稿:网友

cp file file.origmake your edits to filecreate patch

diff -u file file.orig > file.patchapply patch
patch -p0 < file.patchreverse patch
patch –p0 -R < file.patch


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表