Skip to content

Instantly share code, notes, and snippets.

@ofx ofx/git submodule rm
Created Feb 26, 2018

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.