Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是使用差异的新手。我希望递归地创建目录内容的补丁并将其提供给某人,以便他可以与他一起修补目录(略有不同)。提前致谢。如果有人能澄清我如何使之成为可能,我会很高兴。
只需使用类似的东西创建一个补丁
diff -cr originaldirectory/ updateddirectory/ > your.patch
并申请使用
patch -p0 -i your.patch