gitconfig:
[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
*.ipynb filter=nbstrip_full
gitconfig:
gitattributes: [0] http://timstaley.co.uk/posts/making-git-and-jupyter-notebook...