diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000000000000000000000000000000000000..39084ed492685084d2307792c5cc5f80a1e39d56 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,11 @@ +[core] +attributesfile = ~/.gitattributes_global +[filter "nbstrip_full"] +clean = "jq --indent 1 \ + '(.cells[] | select(has(\"outputs\")) | .outputs) = [] \ + | (.cells[] | select(has(\"execution_count\")) | .execution_count) = null \ + | .metadata = {\"language_info\": {\"name\": \"python\", \"pygments_lexer\": \"ipython3\"}} \ + | .cells[].metadata = {} \ + '" +smudge = cat +required = true \ No newline at end of file