GIT-NBDIFFDRIVER(1)
β¨ GIT-NBDIFFDRIVER β¨
okay bestie, welcome to git-nbdiffdriver from the User Commands corner of your manual β it's a git diff driver for notebooks and honestly? it ate. π
π NAME π
git-nbdiffdriver β a git diff driver for notebooks. yes that's the whole name, she's simple, she's iconic. π
πΈ DESCRIPTION πΈ
so here's the usage, verbatim, no notes:
usage: git-nbdiffdriver [-h] [--version] [--config]
[--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}]
{diff,webdiff,config} ...
A git diff driver for notebooks. periodt. π¦
The whole vibe: it uses nbdime to create diffs for notebooks instead of plain text diffs of JSON. like, actual notebook-aware diffs, not just staring at raw JSON until you cry. π
β οΈ but listen β this requires the following to be set in .gitattributes so filetypes get correctly identified with the driver:
*.ipynbβdiff=jupyternotebook
(that's the pairing, keep them together, they're a duo π«Ά)
enable it in your global git config π
git-nbdiffdriver config --enable [--global | --system]
use it like π
git diff [<commit> [<commit>]]
π§ positional arguments π§
{diff,webdiff,config}β the three subcommands you can pick from, pick your fighter π
β¨ OPTIONS β¨
-h,--helpβ shows this help message and then dips. exit. bye. π--versionβ shows the program's version number and exits, a lil flex ngl π--configβ lists the valid config keys AND their current effective values. receipts, basically. π§Ύβ¨--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}β sets the log level by name. choose your chaos level, fromDEBUG(tell me everything) toCRITICAL(only scream if the building's on fire) ππ₯
β SEE ALSO β
there isn't one in this page bestie, but likeβ¦ nbdime? the vibes are there. iykyk. π
that's the whole page fr fr. brought to you by git-nbdiffdriver 4.0.4, dated February 2026 β so fresh, so cute, so documented. go forth and diff your notebooks, you gorgeous main character. ππ
π¦ where this page comes from
- fedora 43: python3-nbdime 4.0.4-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 44: python3-nbdime 4.0.4-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms