Git - Show

Table of Contents

About

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

Basically

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