From 9f169eae7eb9a5577736eaaf61596289be16784e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Nov 2017 15:29:18 +0300 Subject: [PATCH] ipython fix, add lfs --- gitconfig | 5 +++++ ipython_config.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index 94c3173..d92cda3 100644 --- a/gitconfig +++ b/gitconfig @@ -19,3 +19,8 @@ lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all lg = !"git lg1" +[filter "lfs"] + process = git-lfs filter-process + required = true + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f diff --git a/ipython_config.py b/ipython_config.py index 3d9ee0d..8e39d88 100644 --- a/ipython_config.py +++ b/ipython_config.py @@ -546,6 +546,6 @@ c.InteractiveShellApp.exec_lines.append('%load_ext autoreload') c.InteractiveShellApp.exec_lines.append('%autoreload 2') # logging c.InteractiveShellApp.exec_lines.append('import logging') -c.InteractiveShellApp.exec_lines.append('logging.basicConfig(level = logging.DEBUG)') +#c.InteractiveShellApp.exec_lines.append('logging.basicConfig(level = logging.DEBUG)') # requests c.InteractiveShellApp.exec_lines.append('import requests')