.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH git-branchless-query 1 "query " .SH NAME query \- Query the commit graph using the "revset" language and print matching commits .SH SYNOPSIS \fBquery\fR [\fB\-\-hidden\fR] [\fB\-b\fR|\fB\-\-branches\fR] [\fB\-r\fR|\fB\-\-raw\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIREVSET\fR> .SH DESCRIPTION Query the commit graph using the "revset" language and print matching commits. .PP See https://github.com/arxanas/git\-branchless/wiki/Reference:\-Revsets to learn more about revsets. .PP The outputted commits are guaranteed to be topologically sorted, with ancestor commits appearing first. .SH OPTIONS .TP \fB\-\-hidden\fR Include hidden commits in the results of evaluating revset expressions .TP \fB\-b\fR, \fB\-\-branches\fR Print the branches attached to the resulting commits, rather than the commits themselves .TP \fB\-r\fR, \fB\-\-raw\fR Print the OID of each matching commit, one per line. This output is stable for use in scripts .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP <\fIREVSET\fR> The query to execute