updated git_submodule_rm task

This commit is contained in:
Nathan Broadbent
2011-12-20 15:29:03 +08:00
parent 229b832bc0
commit bb7ae286a0

View File

@@ -94,5 +94,6 @@ git_submodule_rm() {
git config -f .git/config --remove-section "submodule.$1" git config -f .git/config --remove-section "submodule.$1"
git config -f .gitmodules --remove-section "submodule.$1" git config -f .gitmodules --remove-section "submodule.$1"
git add .gitmodules git add .gitmodules
rm -rf "$1"
git rm --cached "$1" git rm --cached "$1"
} }