문제

I want to create a patch from a list of files. For example I have 10 commits which modify 4 files. I want to create a patch that includes changes of 3 of those 4 files during those 10 commits. How can I do that?

도움이 되었습니까?

해결책

This worked for me:

git format-patch -10 -- file1.txt -- file2.txt -- file3.txt
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top