Browse Source

filter "ipynb": replace `id` values with `null` (instead of removal)

Fabian Peter Hammerle 1 year ago
parent
commit
f4f683a300
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gitconfig

+ 1 - 1
gitconfig

@@ -46,7 +46,7 @@
 	textconv = zcat
 
 [filter "ipynb"]
-	clean = jq --indent 1 'del(.cells[].id)'
+	clean = jq --indent 1 '.cells[].id = null'
 
 [filter "lfs"]
 	clean = git-lfs clean -- %f