I'm trying to gather up the list of commits in the range [NOW, THEN]
, where NOW
is HEAD
and [THEN]
is 8af39377
, and its about 120 commits ago.
> git log 8af39377289feba1876b3252b6d23 HEAD --oneline | cut -d " " -f 1 > commits.txt
and then look at commits.txt
, its 2300 lines long and it shows the top entry as 8af39377
(the THEN
) and the bottom entry as a3b6ece
(the first commit from 2002).
Why does Git think HEAD
is the first commit to the repository?