올해의 시작 이후로 내 커밋의 목록을 a repository에 보내고 싶었습니다. 나는 명백한 명령을 시도하지만, 그들 중 포함되지 않습니다, 나는 나에게 그들 중 일부 도착하는 --since=2016-12-19
를 사용할 필요가 이상하게git log --since가 예상 한 커밋을 포함하지 않는 이유는 무엇입니까?
$ git log --pretty='format:%h %ae %cI %s' [email protected] --since=2017-01-01 $
을 :
$ git log --pretty='format:%h %ae %cI %s' [email protected] --since=2016-12-20 $ git log --pretty='format:%h %ae %cI %s' [email protected] --since=2016-12-19 61569b5 [email protected] 2017-01-02T16:25:22+08:00 Bug 1324624 - Tweak stylo crashtest assertion annotations a bit more. 7fca5ff [email protected] 2016-12-29T16:32:01+08:00 Bug 1323892 - Followup to disable one more crashtest under stylo. cd875e7 [email protected] 2016-12-28T17:50:44+08:00 Bug 1326023 - Make Element::GetBindingURL return a strong reference. r=smaug 3c057d1 [email protected] 2017-01-02T15:44:23+08:00 Bug 1323717 - Re-enable 1290994-4.html. r=manishearth 7a45228 [email protected] 2016-12-28T17:50:44+08:00 Bug 1326023 - Make Element::GetBindingURL return a strong reference. r=smaug 171e45e [email protected] 2017-01-03T18:35:15+08:00 Bug 1328223 - stylo: Ignore invalid URLs from @import rules. r=emilio $
을하지만 그것은 모두가 아니다 그 중 :
$ git log --pretty='format:%h %ae %cI %s' [email protected] | grep 2017- | wc -l 19
여기에 무슨 일이 일어나고있는가? --since
은 주어진 날짜 이전의 출력에서 커밋을 제거하는 것 외에 다른 작업을 수행합니까?
'--since ='a midnight 2017-01-01 ''을 사용하면 여전히 올해의 커밋이 표시되지 않습니다. – heycam
문서가 어떤 타임 스탬프가 선택되었는지 말하지 않는 것을 볼 수 있습니다. – jthill
작성자와 커밋 날짜의 차이점을 알려 주셔서 감사합니다. 나는'git log --pretty = '형식을 사용했습니다 : % h % ae % aI % s'[email protected] | grep 2017- | wc -l'이고 2017 년에 인쇄 된 날짜로 19 커밋을 얻습니다. – heycam