André Amorim

Crafting Web Experiences

//

List all the Git commits

List all the commits with Indexes: (Format: )

git log --oneline | nl -v0 | sed 's/^ +/&HEAD~/'

List all the commits without numbers: (Format: )

git log --oneline | sed 's/^ +/&HEAD~/'

Reference:
https://git-scm.com/docs/git-log


Published date:

Modified date: