NBMERGE-WEB(1)
πΈ NAME πΈ
nbmerge-web β merge two Jupyter notebooks π (yes bestie, it's the mergetool for Nbdime, and it's iconic)
β¨ DESCRIPTION β¨
okay so here's the whole vibe. you run this thing and it takes three notebooks β a base, a local, and a remote β and it helps you merge them. the usage looks like this:
nbmerge-web [-h] [--version] [--config]
[--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}] [-s] [-o] [-a]
[-m] [-i] [-d] [--merge-strategy
{inline,use-base,use-local,use-remote}] [--input-strategy
{inline,use-base,use-local,use-remote}] [--output-strategy
{inline,use-base,use-local,use-remote,remove,clear-all}]
[--no-ignore-transients] [-p PORT] [-b BROWSER] [--persist] [--ip
IP] [-w WORKDIRECTORY] [--base-url BASE_URL] [--show-unchanged]
[--identical-lines-margin IDENTICAL_LINES_MARGIN] [--no-base]
[--out OUT] base local remote
Mergetool for Nbdime. π«Ά
π positional arguments π
baseβ the base notebook filename. the blueprint, the og, the starting point.localβ the local modified notebook filename. this one's your version, your edits, your moment.remoteβ the remote modified notebook filename. and this is everybody else's changes coming at you.
π options π
-h,--helpβ show this help message and exit. classic. we love a helpful king π--versionβ show program's version number and exit.--configβ list the valid config keys and their current effective values. receipts, basically. π--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}β set the log level by name. pick how chatty you want it to be, fromDEBUG(spills everything) toCRITICAL(only the emergencies).--merge-strategy {inline,use-base,use-local,use-remote}β the merge strategy to use. the big one. how do you wanna handle the chaos.--input-strategy {inline,use-base,use-local,use-remote}β the merge strategy to use for inputs (overrides 'merge-strategy' for inputs). so it just overrides the merge strategy, but only for the inputs. π--output-strategy {inline,use-base,use-local,use-remote,remove,clear-all}β the merge strategy to use for outputs (overrides 'merge-strategy' for outputs). note it's got two extra moves the other ones don't:removeandclear-all. π§Ή--no-ignore-transientsβ disallow deletion of transient data such as outputs and execution counts in order to resolve conflicts. so by default it may delete that stuff to fix conflicts, and this flag says nah, don't. π-p,--port PORTβ specify the port you want the server to run on. Default is0(random). let it pick, it'll surprise you β¨-b,--browser BROWSERβ specify the browser to use, to override the system default.--persistβ prevent server shutting down on remote close request (when these would normally be supported). it simply refuses to leave. main character energy fr.--ip IPβ specify the interface to listen to for the web server. NOTE: Setting this to anything other than127.0.0.1/localhostmight compromise the security of your computer. Use with care!
π¨ bestie PLEASE read that one again. anything other than127.0.0.1/localhostcan genuinely put your machine at risk. Use with care!
-w,--workdirectory WORKDIRECTORYβ specify the working directory you want the server to run from. Default is the actualcwdat program start.--base-url BASE_URLβ The base URL prefix under which to run the web app.--show-unchangedβ show unchanged cells by default. sometimes you wanna see the parts that didn't change, iykyk.--identical-lines-margin IDENTICAL_LINES_MARGINβ Margin for collapsing identical lines in editor; set to-1to deactivate.--no-baseβ Don't display the base version. skip the base, live your truth.--out OUTβ if supplied, the merged notebook is written to this file. Otherwise it cannot be saved. so likeβ¦ if you want your merge to actually survive, you need this. no--out, no save. π
π¦ ignorables π¦
Set which parts of the notebook (not) to process. the "do I even care about this bit" section. π
-s,--sources,-S,--ignore-sourcesβ process/ignore sources.-o,--outputs,-O,--ignore-outputsβ process/ignore outputs.-a,--attachments,-A,--ignore-attachmentsβ process/ignore attachments.-m,--metadata,-M,--ignore-metadataβ process/ignore metadata.-i,--id,-I,--ignore-idβ process/ignore identifiers.-d,--details,-D,--ignore-detailsβ process/ignore details not covered by other options.
and that's the whole page, bestie π it's nbmerge-web version 4.0.4, from February 2026, and honestly? she ate. go merge something. π¦β¨πΈ
π¦ 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