GIT-NBDIFFDRIVER(1)

πŸ“¦
version 4.0.4 Β· 2 versions
, in fedora 43, fedora 44

✨ 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, from DEBUG (tell me everything) to CRITICAL (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