From: wuzhouhui Date: Tue, 05 Jul 2022 07:11:49 GMT Subject: How to display "HEAD~*" in "git log" Message-ID: <17411d88-b27a-2d20-623d-85c49dc7754e@mails.ucas.ac.cn> Hi I frequently use "git rebase" to move commit to a specific location, to know which commit ID as param of "git rebase", I have to list all commits by "git log --oneline", then copy specific commit ID, and executing "git rebase" as   git rebase -i ~ because SHA sum is hard to memorize, so I have to use copy and past, which is too boring. So, I wonder if there is a way to let "git log" display commits like following:   HEAD     HEAD~1 HEAD~2 HEAD~3   ... With these "HEAD~*", I can easily directly type them and no need to move my fingers out of keyboard. Thanks.