From 3638ec9967d57fd5d7f7a6e3389a86adcc8f733f Mon Sep 17 00:00:00 2001
From: William Monroe <wsmonroe@uab,edu>
Date: Thu, 26 Mar 2020 11:09:54 -0500
Subject: [PATCH] added gitconfig

to remove jupyter notebook output before commit
---
 .gitconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 .gitconfig

diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..39084ed
--- /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
-- 
GitLab