What is the best way to git ignore Jupyter notebook outputs?

34 views
Skip to first unread message

Joshua Ansell-McKinnon

unread,
May 13, 2018, 4:04:07 PM5/13/18
to Project Jupyter
I want to be able to push my notebooks to github without the outputs? 

Simon Biggs

unread,
May 13, 2018, 10:43:48 PM5/13/18
to Project Jupyter
I can't claim it's the best way but I use the following:

pip install nbstripout
nbstripout --install

Joshua Ansell-McKinnon

unread,
May 13, 2018, 10:52:02 PM5/13/18
to Project Jupyter
Thanks Simon! I'll check it out.

Joshua Ansell-McKinnon

unread,
May 13, 2018, 10:55:46 PM5/13/18
to Project Jupyter
Thanks Simon! I'll check it out.

On Sunday, May 13, 2018 at 7:43:48 PM UTC-7, Simon Biggs wrote:
Reply all
Reply to author
Forward
0 new messages