Remove a Submodule within git - David Walsh Blog - JavaScript Consultant
I found a handy bash script that automates this https://gist.github.com/sharplet/6289697 Change to a directory that’s in your PATH, I used /usr/local/bin and run the following commands: $ curl -o git-remove-submodule https://gist.github.com/sharplet/62896...