Sponsor:

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

git-nbmergedriver - Man Page

A git merge driver for notebooks

Description

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.

Info

June 2024 git-nbmergedriver 4.0.1