#!/bin/bash | |
if [ "$1" != "" ]; then | |
git submodule deinit -f -- $1 | |
rm -rf .git/modules/$1 | |
git rm -f $1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#!/bin/bash | |
if [ "$1" != "" ]; then | |
git submodule deinit -f -- $1 | |
rm -rf .git/modules/$1 | |
git rm -f $1 | |
fi |