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

15
config
View File

@ -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