摘要: setting 文件内,指定某些文件夹不跟踪 "files.watcherExclude": { "**/.git/objects/**": true, "**/.git/subtree-cache/**": true, "**/node_modules/*/**": true } 阅读全文
posted @ 2024-06-26 20:57 流水灯 阅读(904) 评论(0) 推荐(0)
摘要: 生成 .patch 文件 diff -Naur a/ b/ > xxx.patch 使用 .patch 文件打补丁 patch -p1 < xxx.patch # -p1 表示忽略补丁文件内路径的第一个文件夹,-p0 则表示直接使用补丁文件内完整路径查找文件 撤销打过的补丁 patch -p1 -R 阅读全文
posted @ 2024-06-26 11:10 流水灯 阅读(551) 评论(0) 推荐(0)