OS Manuals

/usr/bin/git-nbmergedriver

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 git-nbmergedriver --help (exit 0). permalink

usage: git-nbmergedriver [-h] [--version] [--config]
                         [--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}]
                         {merge,config} ...

A git merge driver for notebooks.

Uses nbdime to merge notebooks instead of plain text merges of JSON.
Note that this requires the following to be set in .gitattributes to correctly
identify filetypes with the driver:

    *.ipynb     merge=jupyternotebook

Enable in your global git config with:

    git-nbmergedriver config --enable [--global | --system]

Use with:

    git merge [<commit> [<commit>]]

positional arguments:
  {merge,config}

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.
Options (4)
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

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