又到了季度考核的时候了, 记录一下需要用到的git-log命令.
git log --grep="xxx" --pretty=%B --since=3.months --author="xxx" >xxx.txt
--grep="包含自定字符"
--pretty=%B // commit body
--since=3.months // 三个月内
--author="xxx"// 作者
xxx.txt // 输出的文件名
中间以空格隔开不同的条件.
找到了一个速查表: www.html.cn/dev/git-log…