It looks like I need a patch that will take me from How do I create a patch with these two files? If I just go to If I just go to You should do some work with these lines: branch1 to branch2 , but I only care about the file foo1.c and foo2.c , while the other files have also been changed between the two branches. . git diff branch1 branch2> Change.patch , I'll find all the files. git diff branch1: foo1.c branch2: foo1.c & gt; Change.patch , I only receive patches for one file.
git diff Branch1 branch2 - foo1.c foo2.c & gt; Change.patch
No comments:
Post a Comment