This commit is contained in:
Andrei Astafev 2020-04-22 14:37:08 +03:00
parent f649a7a136
commit 27b72679a8
2 changed files with 8 additions and 8 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
user.conf

9
config
View File

@ -1,6 +1,5 @@
[user] [include]
name = Andrey Astafyev path = user.conf
email = dev@246060.ru
[core] [core]
editor = vim editor = vim
@ -100,11 +99,11 @@
track = update-index --no-assume-unchanged track = update-index --no-assume-unchanged
ls-untrack = !git ls-files -v | grep '^h' ls-untrack = !git ls-files -v | grep '^h'
rm-submodule = " git rm --cached $1 && \ rm-submodule = "!f() { git rm --cached $1 && \
rm -rf $1 && \ rm -rf $1 && \
rm -rf .git/modules/$1 && \ rm -rf .git/modules/$1 && \
git config -f .gitmodules --remove-section submodule.$1 && \ git config -f .gitmodules --remove-section submodule.$1 && \
git config -f .git/config --remove-section submodule.$1 " git config -f .git/config --remove-section submodule.$1; }; f"
[diff] [diff]
renames = copy renames = copy