If you have a big list of commits, you may want to use less along with nl.
git log --oneline | nl | less
I use this to combine a set of commits in a single commit using git reset --soft
git reset --soft