About
rev-parse 1) is a command line tool that permits to parse the output and output a single value.
Example
For a commit
- to print the commit tree hash
git rev-parse commitHash^{tree}
rev-parse 1) is a command line tool that permits to parse the output and output a single value.
For a commit
git rev-parse commitHash^{tree}