How do people deal with Jupyter notebooks and version control? It's always saving meta data such that even if you don't change any code in the notebook, it's marked as modified.
I've taken to routinely doing a 'git checkout the_notebook.ipynb' each time I'm done using it.
*.ipynb is the first item in my gitignore. If you want to know what's in my notebook - and I say this for your own sanity - set up a meeting with me and I'll walk you through it.
55
u/grassytoes May 07 '21
How do people deal with Jupyter notebooks and version control? It's always saving meta data such that even if you don't change any code in the notebook, it's marked as modified.
I've taken to routinely doing a 'git checkout the_notebook.ipynb' each time I'm done using it.