Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

git-nbdiffdriver - Man Page

A git diff driver for notebooks

Description

usage: git-nbdiffdriver [-h] [--version] [--config]

[--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}]

{diff,webdiff,config} ...

A git diff driver for notebooks.

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

*.ipynb

diff=jupyternotebook

Enable in your global git config with:

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

Use with:

git diff [<commit> [<commit>]]

positional arguments

{diff,webdiff,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.

Info

June 2024 git-nbdiffdriver 4.0.1