Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
git submodule deinit -f wp-content/plugins/REPO
rm -rf .git/modules/wp-content/plugins/REPO/
git rm -r --cached wp-content/plugins/REPO
rm -rf wp-content/plugins/REPO/
git commit -m "Removed PLUGIN REPO"
git submodule add -f wp-content/plugins/REPO
git commit -m "Added PLUGIN REPO"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment