From 27b72679a88b33b3a26e66007e1dc3c3ff38e395 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Wed, 22 Apr 2020 14:37:08 +0300 Subject: [PATCH] update --- .gitignore | 1 + config | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4fd9090 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +user.conf diff --git a/config b/config index d28b50a..960d839 100644 --- a/config +++ b/config @@ -1,6 +1,5 @@ -[user] - name = Andrey Astafyev - email = dev@246060.ru +[include] + path = user.conf [core] editor = vim @@ -100,11 +99,11 @@ track = update-index --no-assume-unchanged ls-untrack = !git ls-files -v | grep '^h' - rm-submodule = " git rm --cached $1 && \ - rm -rf $1 && \ - rm -rf .git/modules/$1 && \ - git config -f .gitmodules --remove-section submodule.$1 && \ - git config -f .git/config --remove-section submodule.$1 " + rm-submodule = "!f() { git rm --cached $1 && \ + rm -rf $1 && \ + rm -rf .git/modules/$1 && \ + git config -f .gitmodules --remove-section submodule.$1 && \ + git config -f .git/config --remove-section submodule.$1; }; f" [diff] renames = copy