git-branchless-query(1)
π NAME π
okay so bestie, this is the git-branchless-query(1) page from the General Commands Manual, and we're talking about query β Query the commit graph using the "revset" language and print matching commits. No cap, that's the whole vibe. π
π SYNOPSIS π
query [--hidden] [-b|--branches] [-r|--raw] [-h|--help] <REVSET>
β¨ DESCRIPTION β¨
Query the commit graph using the "revset" language and print matching commits. It's giving βask the commit graph a little question and get matching commits back.β π¦
If you wanna learn more about revsets, the original points you to https://github.com/arxanas/git-branchless/wiki/Reference:-Revsets β go read that, iykyk.
The outputted commits are guaranteed to be topologically sorted, with ancestor commits appearing first. So like, ancestors show up before their descendants β topo order, periodt. π
π OPTIONS π
--hiddenβ Include hidden commits in the results of evaluating revset expressions. Yes, even the hidden ones, bestie. π-b,--branchesβ Print the branches attached to the resulting commits, rather than the commits themselves. Branch info instead of commit info, slay. πΈ-r,--rawβ Print the OID of each matching commit, one per line. This output is stable for use in scripts, so it's the main-character choice for scripting. π₯-h,--helpβ Print help (see a summary with'-h'). Cute. π<REVSET>β The query to execute. That's the actual revset you're feeding in. β¨
okay bye bestie π«Ά β footer source/version sign-off: query Β· git-branchless-query(1); the original footer has no date, so I'm not inventing one. ππ
π¦ where this page comes from
- alpine 3.24: git-branchless-doc 0.10.0-r2 Β· MIT OR Apache-2.0
- arch rolling: git-branchless 0.11.1-2 Β· Apache-2.0 AND MIT
- nixos 26.05: git-branchless 0.10.0
- nixpkgs unstable: git-branchless 0.11.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms