Skip to content

Instantly share code, notes, and snippets.

@mapio mapio/config
Created Mar 17, 2017

What would you like to do?
How to smudge Jupyter notebooks in git
[filter "handle-ipynb-output"]
clean = "jupyter nbconvert --to notebook --NbConvertApp.from_stdin=True --ClearOutputPreprocessor.enabled=True --NbConvertApp.writer_class=StdoutWriter"
smudge = cat
*.ipynb filter=handle-ipynb-output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.