Git

git show

SafeShow a commit

git show <commit>

Shows a commit's diff and metadata.

Examples

  • git show HEADInspect the last commit

Syntax

git show <commit|tag>

Before you run it

Read-only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store