Look up commit log for commit ID in Git

git

Solution

git show <commit_id>

is the droid you are looking for, probably.

Problem

I want to look at a commit by ID. For instance, I want to know the code that got committed for that ID, something like: ``` git log <commit_id> ``` And this would display the committed code and commit message that corresponds to this ID.

Original source

Related problems