Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jwinarske/66971c37b79f98a72de3686f29084263 to your computer and use it in GitHub Desktop.
Save jwinarske/66971c37b79f98a72de3686f29084263 to your computer and use it in GitHub Desktop.
Remove a GIT Submodule
In case where submodule was added using
```
git submodule add https://... Silicon/ARM/TFA
```
Remove it using
```
git submodule deinit -f Silicon/ARM/TFA
rm -rf .git/modules/Silicon/ARM/MU_TIANO
git rm -f Silicon/ARM/MU_TIANO
rm -rf Silicon/ARM/MU_TIANO
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment