A stupid way I know is:

git diff commit-number1 commit-number2

Is there a better way?

I mean, I want to know the commit1 itself. I don’t want to add the commit2 before it as a parameter.

6 Answers
6

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *