(created/git2cpp/rev-parse.md)=
# git2cpp rev-parse

```{parsed-literal}
Pick out and message parameters


git2cpp rev-parse [OPTIONS] [&lt;rev&gt;...]


POSITIONALS:
&nbsp; &lt;rev&gt; TEXT ...              Revision(s) to parse (e.g. HEAD, main, HEAD~1, dae86e, ...)

OPTIONS:
&nbsp; -h,     --help              Print this help message and exit
&nbsp;         --is-bare-repository
&nbsp;                             When the repository is bare print "true", otherwise "false".
&nbsp;         --is-shallow-repository
&nbsp;                             When the repository is shallow print "true", otherwise "false".
```
