Install the nbconvert package, though you probably already have it if you are using jupyter. Put the nb2md script from below in your path and make it executable (chmod u+x).
- Add the following to your
~/.gitattributesfile*.ipynb diff=nb2md - Run
git config --global diff.nb2md.textconv nb2md - There is no third step. Go get some 🍦 instead.