3 ms·
If you don't need to "commit" the output, you can just use nbconvert[0]: jupyter nbconvert --clear-output --inplace my_notebook.ipynb So you can use git a
by wdroz 3y ago
If you don't need to "commit" the output, you can just use nbconvert[0]:
jupyter nbconvert --clear-output --inplace my_notebook.ipynb
So you can use git as usual, like for code.
[0] -- https://nbconvert.readthedocs.io/en/latest/ https://nbconvert.readthedocs.io/en/latest/
- andrecosta 3y agonbstripout[0] does that and installs a pre-commit hook [0] -- https://github.com/kynan/nbstripout https://github.com/kynan/nbstripout