git: list all commit hashes

To list all the commit hashes in the whole history of a git repository:

git log --pretty=format:"%h"
écrivain et éditeur

Après plusieurs vies, j’écris maintenant