GIT-STAGE-BATCH-SHOW(1)

NAME
git-stage-batch-show - show the selected hunk or a file review

SYNOPSIS
git-stage-batch show [--from BATCH] [--file [PATH] | --files PATTERN...] [--line IDS] [--page PAGES] [--porcelain] [--no-advance] [--as TEXT | --as-stdin]

DESCRIPTION
show prints the currently selected hunk. It can also open a page-aware review for one file, list matching files, or show changes stored in a batch.

OPTIONS

--from BATCH
    Show changes from BATCH. Candidate previews use BATCH:apply, BATCH:apply:N, BATCH:include, or BATCH:include:N. The unnumbered apply and include forms print a compact overview of available candidates. Numbered forms show the full diff for one candidate.

--file
    [PATH] Show all changes from one file. If PATH is omitted, use the selected hunk's file.

--files PATTERN...
    Show files matched by gitignore-style patterns. Multi-file matches print a navigational file list and do not select a hidden file for later bare actions.

--line, --lines IDS
    Show only the requested display line IDs.

--page, --pages PAGES
    Show file-review pages such as 2, 3-4, or all. Requires a single file. Cannot be combined with --line or --porcelain.

--porcelain
    Exit silently with status code 0 when a hunk exists and 1 when no hunk exists.

--no-advance
    Preview without selecting the shown change for later actions. This option does not read the session's automatic-advance preference.

--as TEXT
    With --from BATCH and --line IDS, preview the replacement batch view that include --from --as would use, without mutating the index or working tree.

--as-stdin
    Read replacement preview text from standard input exactly.

EXAMPLES
    git-stage-batch show
    git-stage-batch show --file src/app.py --page 2
    git-stage-batch show --from cleanup --files 'src/**' '!src/vendor/**'
    git-stage-batch show --from cleanup:apply --file src/app.py
    git-stage-batch show --from cleanup:include:2 --file src/app.py

SEE ALSO
git-stage-batch(1), git-stage-batch-include(1), git-stage-batch-discard(1)