We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506c491 commit 6b79f2fCopy full SHA for 6b79f2f
docs/.gitattributes
@@ -0,0 +1,5 @@
1
+# Strip notebook output for diffs and during staging
2
+# Download with 'pip install nbstripout'
3
+# See: https://github.com/kynan/nbstripout
4
+*.ipynb filter=nbstripout
5
+*.ipynb diff=ipynb
docs/.gitconfig
@@ -0,0 +1,6 @@
+[diff "ipynb"]
+ textconv = nbstripout -t
+[filter "nbstripout"]
+ clean = "f() { echo >&2 \"clean: nbstripout $1\"; nbstripout; }; f %f"
+ smudge = "f() { echo >&2 \"smudge: cat $1\"; cat; }; f %f"
6
+ required = true
0 commit comments