List all the commits with Indexes: (Format: <index> <commit-id> <commit-message>)
git log --oneline | nl -v0 | sed 's/^ +/&HEAD~/'List all the commits without numbers: (Format: <commit-id> <commit-message>)
git log --oneline | sed 's/^ +/&HEAD~/'Reference:
https://git-scm.com/docs/git-log
