Two questions:
I know that git use parent to link the commit, it's easy to log the commit from end to start.
like: git log HEAD~10
But i need to query from the start to end, is it possible?
Simply log everything with one line format and tail the output:
git log --pretty=oneline | tail -n 10