Git - Show

Table of Contents


git show 1) is a general command line tool that shows information about object


git show hash

where hash is the object hash

  • for commits it shows the log message and textual diff. It also presents the merge commit in a special format as produced by git diff-tree –cc.
  • for tags, it shows the tag message and the referenced objects.
  • for trees, it shows the names (equivalent to git ls-tree with –name-only).
  • for plain blobs, it shows the plain contents.

Powered by ComboStrap