I need to write a script that create patches for a list of SHA1 commit numbers.
(我需要编写一个脚本来为SHA1提交编号列表创建补丁。)
I tried using git format-patch <the SHA1>
, but that generated a patch for each commit since that SHA1.
(我尝试使用git format-patch <the SHA1>
,但是自SHA1以来,每次提交都会生成一个补丁。)
After a few hundred patches were generated, I had to kill the process. (生成几百个补丁后,我不得不终止该过程。)
Is there a way to generate a patch only for the specific SHA1?
(有没有一种方法只能为特定的SHA1生成补丁?)
ask by elle translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…