git - new alias for deleting submodule

master
Julien Rosset 4 years ago
parent 646055cabd
commit 1e4e0d2f9a

@ -25,6 +25,7 @@
cb = checkout
push = push --tags
untrack = rm --cached
submodule-del = "!f() { git submodule deinit -d -- ${1}; rm -rf .git/modules/${1}; git rm -f ${1}; }; f"
[core]
editor = vim
autocrlf = input

Loading…
Cancel
Save