1)假设(假数据):
git log
commit 12ddf89asdfash323jhkfhsadfyas23ifhafdf
Author: Karol Dok <Karol.Dok@gmail.com>
Date: Mon Mar 31 18:06:44 2014 +0200
TTTT_6222 Coment5.
commit asdf7623rkjadf98723rfaefdsas7d6fa9sass
Author: Tom Tyt <Tom.Tyt@gmail.com>
Date: Feb Feb 26 7:06:44 2014 +0200
TTTT_4532 Coment4.
commit bs90s7dfgsdfgsfd8g7sd0fg7sd0f98g7sdfgs
Author: Karol Dok <Karol.Dok@gmail.com>
Date: Wen Feb 10 9:16:44 2014 +0200
TTTT_4532 Coment3.
2)根据&#34; Karol.Dok@gmail.com"
制作的日期范围01.02.14-28.02.14生成补丁git diff --email =&#39; Karol.Dok@gmail.com' --daterange =&#39; 01.02.14-28.02.14&#39; &GT; patchTest.patch
答案 0 :(得分:1)
使用作者和日期(开始 - 结束)过滤器生成差异:
git log --since "MAY 1 2017" --until "MAY 31 2017" -p --author="Jack" > diffJackMay.patch