Git Git revisions syntax Specifying revision by object name


Example

$ git show dae86e1950b1277e545cee180551750029cfe735
$ git show dae86e19

You can specify revision (or in truth any object: tag, tree i.e. directory contents, blob i.e. file contents) using SHA-1 object name, either full 40-byte hexadecimal string, or a substring that is unique to the repository.