1.直接生成.patch
git diff commitID_1 commiID_2 > aaa.patch
2.生成树结构的差别文件:
(方便用bcompare对比)
git diff commitID_1 commitID_2 --name-only || xargs -I{} cp --parents {} /home/patchPath/
1.直接生成.patch
git diff commitID_1 commiID_2 > aaa.patch
2.生成树结构的差别文件:
(方便用bcompare对比)
git diff commitID_1 commitID_2 --name-only || xargs -I{} cp --parents {} /home/patchPath/