Sam Liao Sam Liao - 4 months ago 25
Git Question

How to show what a commit did?

A stupid way I know is:

git diff commit-number1 commit-number2

any better way?

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

git show <commit-id>

Documentation for git show