4

I am looking for any straightforward solution to work with Jupyter Notebooks and git since the cached data on the .ipynb files makes the diff difficult to read.

Does anyone know any standalone alternative and not server hosted?

Brian Spiering
  • 21,136
  • 2
  • 26
  • 109
ballesdbc
  • 41
  • 3

1 Answers1

3

One option is to strip the output from the .ipynb file. Then the git diff would only track the cell data. One package that strips the output Jupyter Notebook is nbstripout.

Brian Spiering
  • 21,136
  • 2
  • 26
  • 109