Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/paskov1/addon_domains/vmsoft-bg.com/paskov/root/wp-content/plugins/wp-syntax/wp-syntax.php on line 380
Quick tip on how to remove Git submodule.
- Remove the relevant line from the .gitmodules file
- Delete the relevant section from .git/config (if any)
- Run
git rm --cached path_to_submodule
(without trailing slash)
- Commit and delete the now untracked submodule files.