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 original.txt edited.txt > 1.patch cp original.txt test.txt
我想第一个文件名应该是未修改/原始文件,第二个文件名应该如何看待补丁?
那么我该如何应用补丁test.txt呢?
test.txt
这很简单
patch test.txt 1.patch