Git - Show


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.

Discover More
Git Commit Tree Data Model
Git - Commit

A commit in git is an object that stores the information : who saved the file system snapshots, when they were saved, why they were saved. the commiter the author the parent commit It's...
Git - File

File management in Git (blob and not directory) blob object on the local file system or not (ie in the git file system database) See and short status A file (or blob) identifier is the...
Git - Tag

This page is tagging in git Git has the ability to tag specific points in history as being important. Typically this functionality is used to mark release points (v1.0, and so on). Git uses two main...

Share this page:
Follow us:
Task Runner