Git show details of a commit hash

show a commit details (without file diff)

$ git show -s 97d79ecf6b6
commit 97d79ecf6b6c5cc3c1485eb3c46e12986a978f57
Author: Dave Methvin 
Date:   Mon Nov 9 17:49:01 2015 -0500

    Dimensions: Empty sets should return undefined
    Ref gh-2319
    Closes gh-2701

show a commit details with file diff

$ git show 97d79ecf6b6

In case the commit details are not present in local repo, Run the following to fetch commit info:

$ git fetch --all
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit


Click here to write/view comments