git checkout r48ikj2 can be used to recover deleted commits using the following commit (by default, the reflog expiration date is set to 90 days)git reset --hard k829hkw
In this example k829hkw commit is followed by r48ikj2 commit and by running the checkout command we want to get the deleted commit back