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.
我想从文件列表中创建一个补丁。例如,我有 10 次提交,修改了 4 个文件。我想创建一个补丁,其中包含这 10 次提交期间这 4 个文件中的 3 个的更改。我怎样才能做到这一点?
这对我有用:
git format-patch -10 -- file1.txt -- file2.txt -- file3.txt