]> apps.delaporte.us Git - dotfiles.git/blobdiff - doc/jupyter.md
Updates
[dotfiles.git] / doc / jupyter.md
index 6bd31c7e16f9bdbb692447ffee2652fb2dab5a14..154b635d725acf0af8760b57a3ed99cf6418f2d3 100644 (file)
@@ -4,8 +4,12 @@
 # Install ipykernel at user level
 pip install -U ipykernel
 
+# From https://stackoverflow.com/questions/18734739/using-ipython-jupyter-notebooks-under-version-control
+
 # Tell git to clean data out before committing a notebook
-cp ~/dotfiles/files/gitattributes ~/.gitattributes
+git config --global core.attributesfile $HOME\dotfiles\files\gitattributes
+git config --global filter.dropoutput_ipynb.clean ~\dotfiles\util\jupyter_git_clean.py
+git config --global filter.dropoutput_ipynb.smudge cat
 ```
 
 Did not work