Skip to content

Glossary: Git Beyond the Basics

rev-parse

Also written: git rev-parse

Prints the hash that a name such as `HEAD@{1}` or `main` stands for, so you can check before acting.

Where the book teaches it

Related terms

hashHEAD@{n}