What I want is:
given a start commit p,
do the following:
git show p
and if finished reading and then press ENTER,automatically show the previous commit.
Until I press ctrl-c to terminate .
Is there a tool to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not exactly what you want, but the following is quite straight forward since
<commit>~ndesignates the nth ancestor from a commit:A small scripting effort will lead to the behavior you describe, though.