Optional --abbrev-A non-ambiguous short name of the objects name.
Optional --absolute-Like --git-dir, but its output is always the canonicalized absolute path.
Optional --allIncludes all the refs in refs/, along with HEAD.
Optional --branchesIncludes all the refs in refs/heads.
Optional --defaultIf there is no parameter given by the user, uses arg instead.
Optional --disambiguateShows every object whose name begins with the given prefix.
Optional --excludeExcludes all the refs matching the specified pattern.
Optional --flagsDoes not output non flag parameters.
Optional --git-Shows $GIT_COMMON_DIR, if defined; else, $GIT_DIR.
Optional --git-Shows $GIT_DIR, if defined.
Optional --git-Resolves "$GIT_DIR/path".
Optional --globIncludes all the refs matching the specified pattern.
Optional --is-Determines if the the repository is bare.
Optional --is-Determines if the current working directory is below the repository directory.
Optional --is-Determines if the current working directory is inside the repository work tree.
Optional --is-Determines if the the repository is shallow.
Optional --local-List the GIT_* environment variable names that are local to the repository.
Optional --no-Does not output flag parameters.
Optional --no-Does not output flags and parameters meant for Git rev-list command.
Optional --notWhen showing object names, prefix them with ^ and strip ^ prefix from the object names that already have one.
Optional --path-Selects the path format of certain other options.
Optional --prefixBehaves as if Git rev-parse was invoked from the arg subdirectory of the working tree.
Optional --quietDoes not output an error message if the first argument is not a valid object name.
Optional --remotesIncludes all the refs in refs/remotes.
Optional --resolve-Checks if path is a valid repository or a gitfile that points at a valid repository, and print the location of the repository.
Optional --revs-Does not output flags and parameters not meant for Git rev-list command.
Optional --shared-Shows the path to the shared index file in split index mode.
Optional --shortSame as --verify but shortens the object name to a unique prefix with at least length characters.
Optional --show-Shows the path of the top-level directory relative to the current directory.
Optional --show-Shows the object format (hash algorithm) used.
Optional --show-Shows the path of the current directory relative to the top-level directory.
Optional --show-Shows the absolute path of the root of the superproject’s working tree.
Optional --show-Shows the path of the top-level directory of the working tree.
Optional --symbolicUsually the object names are output in SHA-1 form (with possible ^ prefix); this option makes them output in a form as close to the original input as possible.
Optional --symbolic-Similar to --symbolic, but it omits input that are not refs.
Optional --tagsIncludes all the refs in refs/tags.
Optional --verifyVerifies exactly one parameter is provided, and that it can be turned into a raw 20-byte SHA-1 that can be used to access the object database.
RevParseOptions defines the supported options for the Git rev-parse command.