r/IPython • • Oct 02 '15

How to use git with iPython notebooks

I love the interactive and flexible environments of iPython. But I hate it I seem unable to get effective version control in using git. executing a cell already results in a diff :(

Anyone using git with iPython notebooks and if so, how do you use it and is it efficient?

13 Upvotes

5 comments sorted by

View all comments

1

u/parnmatt Oct 03 '15

I clear output on all cells and I think restart the kernel before a commit. That should remove the output and the execution number. Only really useful if you are developing short running scripts.