OS Manuals

/usr/bin/nbmerge

Jupyter all-spark-notebook image content combining the upstream jupyter/docker-stacks layer chain (base-notebook, minimal-notebook, scipy-notebook, pyspark-notebook, all-spark-notebook) into a single APK with the scientific Python stack, Apache Spark, R, and Spark/R kernels on top of jupyter-base-notebook.

From jupyter-all-spark-notebook 7.6.1_git20261106-r0 (enterprise-packages), captured 2026-11-08 by running nbmerge --help (exit 0). permalink

usage: nbmerge [-h] [--version] [--config] [--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}] [-s]
               [-o] [-a] [-m] [-i] [-d] [--merge-strategy {inline,use-base,use-local,use-remote}]
               [--input-strategy {inline,use-base,use-local,use-remote}]
               [--output-strategy {inline,use-base,use-local,use-remote,remove,clear-all}]
               [--no-ignore-transients] [--no-color] [--no-git] [--no-use-diff] [--out OUT]
               [--decisions]
               [base] local remote

Merge two Jupyter notebooks "local" and "remote" with a common ancestor "base". If base is left
out, it uses an empty notebook as the base.

positional arguments:
  base                  The base notebook filename.
  local                 The local modified notebook filename.
  remote                The remote modified notebook filename.

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --config              list the valid config keys and their current effective values
  --log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}
                        set the log level by name.
  --merge-strategy {inline,use-base,use-local,use-remote}
                        the merge strategy to use.
  --input-strategy {inline,use-base,use-local,use-remote}
                        the merge strategy to use for inputs (overrides 'merge-strategy' for
                        inputs).
  --output-strategy {inline,use-base,use-local,use-remote,remove,clear-all}
                        the merge strategy to use for outputs (overrides 'merge-strategy' for
                        outputs).
  --no-ignore-transients
                        disallow deletion of transient data such as outputs and execution counts
                        in order to resolve conflicts.
  --no-color            prevent use of ANSI color code escapes for text output
  --no-git              prevent use of git for formatting diff/merge text output
  --no-use-diff         prevent use of diff/diff3 for formatting diff/merge text output
  --out OUT             if supplied, the merged output is written to this file. Otherwise it is
                        printed to the terminal.
  --decisions           print a human-readable summary of conflicted merge decisions instead of
                        merging the notebook.

ignorables:
  Set which parts of the notebook (not) to process.

  -s, --sources, -S, --ignore-sources
                        process/ignore sources.
  -o, --outputs, -O, --ignore-outputs
                        process/ignore outputs.
  -a, --attachments, -A, --ignore-attachments
                        process/ignore attachments.
  -m, --metadata, -M, --ignore-metadata
                        process/ignore metadata.
  -i, --id, -I, --ignore-id
                        process/ignore identifiers.
  -d, --details, -D, --ignore-details
                        process/ignore details not covered by other options.
Options (19)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--versionshow program's version number and exithelp
--configlist the valid config keys and their current effective valueshelp
--log-level DEBUGset the log level by name.help
--merge-strategy inlinethe merge strategy to use.help
--input-strategy inlinethe merge strategy to use for inputs (overrides 'merge-strategy' for inputs).help
--output-strategy inlinethe merge strategy to use for outputs (overrides 'merge-strategy' for outputs).help
--no-ignore-transientsdisallow deletion of transient data such as outputs and execution counts in order to resolve conflicts.help
--no-colorprevent use of ANSI color code escapes for text outputhelp
--no-gitprevent use of git for formatting diff/merge text outputhelp
--no-use-diffprevent use of diff/diff3 for formatting diff/merge text outputhelp
--out OUTif supplied, the merged output is written to this file.help
--decisionsprint a human-readable summary of conflicted merge decisions instead of merging the notebook.help
-s, --sources, -S, --ignore-sourcesprocess/ignore sources.help
-o, --outputs, -O, --ignore-outputsprocess/ignore outputs.help
-a, --attachments, -A, --ignore-attachmentsprocess/ignore attachments.help
-m, --metadata, -M, --ignore-metadataprocess/ignore metadata.help
-i, --id, -I, --ignore-idprocess/ignore identifiers.help
-d, --details, -D, --ignore-detailsprocess/ignore details not covered by other options.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.