ابتدا با دستور زیر لیستی از commit ها و hash های گذشته بدست می آوریم.
git log --oneline
به عنوان مثال خروجی زیر نمایش داده می شود
b7119f2 Continue doing crazy things
872fa7e Try something crazy
a1e8fb5 Make some important changes to hello.py
435b61d Create hello.py
9773e52 Initial import