Git Git revisions syntax The default revision: HEAD


Example

$ git show         # equivalent to 'git show HEAD'

'HEAD' names the commit on which you based the changes in the working tree, and is usually the symbolic name for the current branch. Many (but not all) commands that take revision parameter defaults to 'HEAD' if it is missing.