user736893
user736893

Reputation:

View changes for specific commit by hash?

If I run git log -5 I get a summary of the last 5 commits. How can I view the details (specifically changes) of one of those commits using the hash output from git log?

Upvotes: 0

Views: 42

Answers (1)

cauchy
cauchy

Reputation: 1133

git show <commit-id> what you are looking for.

Documentation for git show

Upvotes: 1

Related Questions