nbdime
nbdime copied to clipboard
nbdime-web: Diffing multiple notebooks at the same time
Hello 👋 , i'm trying to run nbidme-web with a repo with multiple changed notebooks. Sorry if I'm missing something obvious, but how can I load all the notebooks? I keep being redirected to the same one all the time (shown in screenshot), even if I change the URL manually to Lecture_2.ipynb, Lecture_3.ipynb, etc.
I'm running the command in this way:
$ nbdiff-web e3fba84887e64cdb964579df4cda29cc244f61a0 5bfa9e19bab171500f5dfe2ae7f1976307bb990a *.ipynb --persist
What am I doing wrong? Thanks!
I guess a more general explanation of my issue is: how do you generate git diffs (using the webapp)for multiple files?
For example. If the current branch has made changes on files 1.ipynb, 2.ipynb and subdir/3.ipynb, how can you launch nbdiff-web to preview all those changes?
@santiagobasulto The --persist option is mainly useful for debugging, and not really helpful when you want to diff multiple files. If you could share a little about why you are using it, I might be able to recommend a better pattern.
Hello @vidartf! Thanks in advance for your help. My use case is relatively simple I think. I have an online server running Jupyter Lab. There's a new git branch created with some changes to some of the notebooks (1.ipynb, 2.ipynb and subdir/3.ipynb).
I'd like to lunch (in another port) nbdiff-web comparing what's on master@HEAD to the other branch and share the URL with my team so they can all compare the changes between the 2 branches.