Sam Liao Sam Liao - 2 months ago 6x
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