Skip to content

Instantly share code, notes, and snippets.

Embed
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 https://github.com/USER/REPO 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