English ▾ Topics ▾ Version 2.27.0 ▾ git-rev-parse last updated in 2.56.0

NAME

git-rev-parse - Pick out and massage parameters

SYNOPSIS

git rev-parse [<options>] <args>…​

DESCRIPTION

Many Git porcelainish commands take mixture of flags (i.e. parameters that begin with a dash -) and parameters meant for the underlying git rev-list command they use internally and flags and parameters for the other commands they use downstream of git rev-list. This command is used to distinguish between them.

OPTIONS

Operation Modes

Each of these options must appear first on the command line.

--parseopt

Use git rev-parse in option parsing mode (see PARSEOPT section below).

--sq-quote