Sam Liao Sam Liao - 1 year ago 83
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.

Answer Source
git show <commit-id>

Documentation for git show